find

 

 

Overview

The find function returns the location of a match string found in a target string. The find function is case sensitive (upper and lower case letters do not match). If the match string is not found, the Boolean value false is returned. The find function may also be supplied with a vector of match strings instead of just a single match string (up to 256 match strings are supported). If a vector of match strings is supplied, then the find function returns the location of the first match string found, and sets the cdr of the match vector to the index of the match string found.

Usage

The find function is used to locate a match string in a target String or Text.

 

Syntax

 

Examples

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 Integer

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

++ += + /=
/ *= * --
-= - addMethod addi
appendWriteln append apply avg
badd balance bdiv binaryInsert
binaryNand binaryNor binaryNot binaryNxor
binarySearch bitToNumberVector bitwiseAnd bitwiseNand
bitwiseNor bitwiseNot bitwiseNxor bitwiseOr
bitwiseShiftLeft bitwiseShiftRight bitwiseXor bmod
bmul boolean cadd 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 deleteRows
delete dimension disassemble display
divi downcase encode evalInSyncLocalContext
eval exit exportCsv exportSbf
exportTab fact fdisplay fileClose
fileCopy fileDir fileDisplay fileEraseDir
fileErase fileExists fileMakeDir fileOpen
fileReadAll fileReadRecord fileRead fileResize
fileSeek fileSizeOf fileWriteAll fileWrite
filewriteln findBlock find floor
fraction freeBlock gcd getRecursionCount
hashString hour iadd icompareEQ
icompareGE icompareGT icompareLE icompareLT
icompareNE idiv imod importCsv
importSbf importTab imul insertRows
insert inside inspect integer
isAtom isBitVector isBoolean isBound
isByteVector isCharAlphabetic isCharAlphanumeric isCharLowercase
isCharName isCharNumeric isCharUppercase isCharWhitespace
isChar isCharacter isComplex isDate
isDictionary isDirectory isEqual isError
isEven isFloatVector isIdentical isInside
isIntegerVector isInteger isLambda isMatrix
isMember isMoney isNumberMatrix isNumberVector
isNumber isObjectVector isObject isPair
isPcodeVector isString isStructure isSymbol
isText isType isVector isub
julian kurtosis lcm left
length list loadModule loadWorkspace
macroReplace makeGramMatrix makeQuotedList makeQuotedSymbol
map mapc max median
member mid min minute
mod modi money month
muli new number objectToList
objectToMatrix objectToNumMatrix objectToNumVector objectToVector
offset openLog pair parent
parse pointer preAllocateFixedMemoryBlocks product
qt random randomize range
rank refAttributes refValues ref
remove replace rept resize
reverse right round run
saveImmediate saveModule saveObject saveWorkspace
second setAttributes setBlock setCar
setCdr setLastCdr set setf
setq sizeof skew sort
sql sqrt srandom stdev
stdevp stringCiEQ stringCiGE stringCiGT
stringCiLE stringCiLT stringCiNE stringFill
stringToBVector stringToVector string subi
submit substitute substringCiEQ substringCiGE
substringCiGT substringCiLE substringCiLT substringCiNE
substringEQ substringFill substringGE substringGT
substringLE substringLT substringNE substring
sum sumsqr svmRegression symbolToTypeCode
symbol system text time
trim type uniqueInsert upcase
var varp vectorBinaryInnerProduct vectorBipolarInnerProduct
vectorCosineInnerProduct vectorCubeInnerProduct vectorDelete vectorExpInnerProduct
vectorFill vectorInnerProduct vectorLogInnerProduct vectorQuartInnerProduct
vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct vectorSquareInnerProduct
vectorTanInnerProduct vectorTanhInnerProduct writelg writeln
year

Analytic Information Server (AIS)

AIS Component Systems

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