V
vang
How do I find out which delimiter if found/used when splitting a
string with multiple delimiters are defined in a char array?
Example:
dim i as integer
dim returnText as string
dim InputText as string = "apples/orange\banana"
dim delim as char = {"\", "/", "$")
dim segment() as string = InputText.split(delim)
for i = 0 to (segment.length -1)
returnText = segment(i)
write("Return value: " & returnText)
next
string with multiple delimiters are defined in a char array?
Example:
dim i as integer
dim returnText as string
dim InputText as string = "apples/orange\banana"
dim delim as char = {"\", "/", "$")
dim segment() as string = InputText.split(delim)
for i = 0 to (segment.length -1)
returnText = segment(i)
write("Return value: " & returnText)
next