Prev Page Next Page
StrSplit
Previous Top Next

Splits a string and returns an array of strings. If the Separators string is an empty string then all white characters will be used as the separators.

Syntax: SrtSplit (DestArray, RawString, Separators)
DestArray - The array that will receive the result
RawString - The string that will be split.
Separators - Zero or more characters that act as the separators.

Example:
Dim words(0) as string
Nma= "$GPGGA,161229.487,3723.2475,N,12158.3416,W,1,07,1.0,9.0,M,,,,0000*18"
StrSplit(words(), Nma, ",")
for i = 0 to ArrayLen(words())-1
            msgbox(words(i))
next


  
Prev Page Next Page
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)