DescriptionBreaks up the input string into parts based on an arbitrary delimiter. The delimiter can be a regular expression.Syntaxtarget.strlib.Split( input, "delimiter" )delimiter - This is a string or regular expressionReturn valueThis function returns an array of strings.Samples'---------- Start ----------Function StartDim str, arr str = "Using the Split method to split strings." arr = target.strlib.Split(str, "to") trg.Message( arr(0) )End FunctionIn this case the string is being split at the word "to" so there will be two output strings in the output array.
DescriptionBreaks up the input string into parts based on an arbitrary delimiter. The delimiter can be a regular expression.Syntaxtarget.strlib.Split( input, "delimiter" )
Description
Breaks up the input string into parts based on an arbitrary delimiter. The delimiter can be a regular expression.
Syntax
target.strlib.Split( input, "delimiter" )
delimiter - This is a string or regular expression
Return valueThis function returns an array of strings.Samples'---------- Start ----------Function StartDim str, arr str = "Using the Split method to split strings." arr = target.strlib.Split(str, "to") trg.Message( arr(0) )End FunctionIn this case the string is being split at the word "to" so there will be two output strings in the output array.
Return value
This function returns an array of strings.
Samples'---------- Start ----------Function StartDim str, arr str = "Using the Split method to split strings." arr = target.strlib.Split(str, "to") trg.Message( arr(0) )End FunctionIn this case the string is being split at the word "to" so there will be two output strings in the output array.
'---------- Start ----------
Function Start
Dim str, arr
str = "Using the Split method to split strings."
arr = target.strlib.Split(str, "to")
trg.Message( arr(0) )
End FunctionIn this case the string is being split at the word "to" so there will be two output strings in the output array.
See alsoTextConverter's "this" Object
See also
TextConverter's "this" Object