Maptitude GISDK Help |
Divides a string into pieces based on the position of vertical bars (|) in that string.
pieces = SplitString(string s)
Argument |
Contents |
s |
The string that is split |
An array of pieces of the string, or null if s is null.
SplitString can be used to parse the results of GetEditorView(), GetWindows() , and many other functions.
If s contains no vertical bars, then the return value is an array of one string.
SplitString() does not include the vertical bars in the strings that make up the returned array.
If s contains two consecutive vertical bars, the returned array contains a null in the corresponding position.
subs = SplitString("Map|My First Map")
// returns {"Map", "My First Map"}
Function |
Summary |
Compares two strings to see if they match |
|
Returns a concatenated string separated by the delimiter |
|
Divides a string into pieces separated by the specified delimiters |
|
Splits a path and filename into its component parts |
|
Extracts one word from a string |
©2025 Caliper Corporation | www.caliper.com |