|
stringToBVector
|
The stringToBVector function separates a String {string} into several
substrings using the key {key} as the separator. The result substrings are
collected to form an Object Vector and the Object Vector is returned.
The stringToBVector has an optional argument {true}, which,
if present, will treat the {key} argument as a collection of keys rather
than a single key or pattern. In other words if {true} is present, any
character in the {key} will cause a substring break.
When to use The stringToBVector function's ability to separate a String into several
substrings makes the function ideally suitable for tokenizing a String. Afterwards,
each substring in the Object Vector, can be processed as tokens.
(stringToBVector string key) (stringToBVector string key true) (stringToBVector text key ) (stringToBVector text key true) Returns an Object Vector
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_String_stringToBVector_001
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types string Target String or Text String or Text key The break string or character String Text Character true Optional. If present, treat the key argument as a collection of key characters,
if not present, treat the key argument as the key string. Boolean
Returns:
Examples
Argument Types
String
Vector
Text
Character
ObjVector
How do I contact the AIS team?