The stringToVector function separates a String {string} into several substrings using the key {key} as the separator. The key is not included in the result substring. All of the result substrings are collected to form a Vector and the Vector is returned. The stringToVector has an optional third 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. The stringToVector has an optional fourth argument {true}, which, if present along with the optional third argument, will treat the {key} argument as a field delimiter such as in a tab delimited record string.


The stringToVector 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 string key true true)

(stringToBVector text key )

(stringToBVector text key true)

(stringToBVector text key true true)

Arguments Name Type Description
Argument:stringString or Text Target String or Text
Argument:keyString Text Character The break string or character
Argument:trueBoolean Optional. If present, treat the key argument as a collection of key characters, if not present, treat the key argument as the key string.
Argument:trueBoolean Optional. If present along with the optional third argument, treat the key argument as field delimiter such as in a tab delimited record string.


Returns a Vector



Here are a number of links to Lambda coding examples which contain this instruction in various use cases.


Argument Types

Here are the links to the data types of the function arguments.

String Vector Text Character

Here are also a number of links to functions having arguments with any of these data types.

*= addMethod appendWriteln append
apply balance binaryInsert binaryNand
binaryNor binaryNot binaryNxor binarySearch
bitToNumberVector bitwiseAnd bitwiseNand bitwiseNor
bitwiseNot bitwiseNxor bitwiseOr bitwiseShiftLeft
bitwiseShiftRight bitwiseXor boolean cadd
ccompareEQ ccompareGE ccompareGT ccompareLE
ccompareLT ccompareNE cdiv cdr
char character clean closeLog
cmod cmul code compareEQ
compareGE compareGT compareLE compareLT
compareNE compare comparison compress
cons copy count csub
date day days360 debugBrowsableProcs
debugDetective debugEval delete dimension
disassemble display downcase encode
evalInSyncLocalContext eval exportCsv exportSbf
exportTab fdisplay fileClose fileCopy
fileDir fileDisplay fileEraseDir fileErase
fileExists fileMakeDir fileOpen fileReadAll
fileReadRecord fileRead fileSizeOf fileWriteAll
fileWrite filewriteln findBlock find
freeBlock hashString hour importCsv
importSbf importTab insert inside
inspect integer isAtom isBitVector
isBoolean isByteVector isCharAlphabetic isCharAlphanumeric
isCharLowercase isCharName isCharNumeric isCharUppercase
isCharWhitespace isChar isCharacter isComplex
isDate isDictionary isDirectory isEqual
isError isFloatVector isIdentical isInside
isIntegerVector isInteger isLambda isMatrix
isMember isMoney isNumberMatrix isNumberVector
isNumber isObjectVector isObject isPair
isPcodeVector isString isStructure isSymbol
isText isType isVector julian
left length list loadModule
loadWorkspace macroReplace makeGramMatrix makeQuotedList
makeQuotedSymbol map mapc member
mid minute money month
new number objectToList objectToMatrix
objectToNumMatrix objectToNumVector objectToVector offset
openLog pair parent parse
pointer product qt rank
refAttributes refValues ref remove
replace rept resize reverse
right run saveImmediate saveModule
saveObject saveRepository saveWorkspace second
setAttributes setBlock setCar setCdr
setLastCdr set setf setq
sizeof sort sql stringCiEQ
stringCiGE stringCiGT stringCiLE stringCiLT
stringCiNE stringFill stringToBVector stringToVector
string submit substitute substringCiEQ
substringCiGE substringCiGT substringCiLE substringCiLT
substringCiNE substringEQ substringFill substringGE
substringGT substringLE substringLT substringNE
substring svmRegression symbolToTypeCode symbol
system text time trim
type uniqueInsert upcase vectorBinaryInnerProduct
vectorBipolarInnerProduct vectorCosineInnerProduct vectorCubeInnerProduct vectorExpInnerProduct
vectorFill vectorInnerProduct vectorLogInnerProduct vectorQuartInnerProduct
vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct vectorSquareInnerProduct
vectorTanInnerProduct vectorTanhInnerProduct writelg writeln

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE