Announcement

Collapse
No announcement yet.

reformatting status string for speech

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    reformatting status string for speech

    I've got an event that uses the replacement variable to speak the status string of a device. The status string is a filename. For example "SongName.fseq" What's the best method to reformat that string to remove the period and extension? I don't want it to try and speak the extension portion. The extension is always the same for this device.

    #2
    You will have to do this in VB script, but the easiest is to use a string split statement on the period. Something like:

    Dim p() As String = myfilenamevariable.Split(".")

    p(0) will then have your reformatted file name.

    Comment

    Working...
    X