substringEQ

 

 

Overview

The substringEQ function performs a case-sensitive comparison between the two substrings {string1 start1 end1} and {string2 start2 end2}. If the comparison is true, true is returned; otherwise, false is returned.

Usage

Use the substringEQ function to compare if two sibstrings are equal without considering the case the of the Strings (case-insensitive). Therefore the Strings "Hello" and "HELLO" would not be equal.

 

Syntax


Expression:

(substringEQ string1 start1 end1 string2 start2 end2)

(substringEQ text1 start1 end1 text2 start2 end2)


Arguments Name Type Description
Argument:string1String or Text The first String or Text to be compared
Argument:start1Integer The beginning position of the first String or Text to be compared
Argument:end1Integer The ending position of the first String or Text to be compared
Argument:string2String or Text The second String or Text to be compared
Argument:start2Integer The beginning position of the second String or Text to be compared
Argument:end2Integer The ending position of the second String or Text to be compared

Returns:

Returns true if the comparison is true, false if the comparison is false



 

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 Boolean

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

*= abortTransaction addMethod appendWriteln
append badd balance bcompareEQ
bcompareGE bcompareGT bcompareLE bcompareLT
bcompareNE bdiv beginTransaction binaryInsert
binaryNand binaryNor binaryNot binaryNxor
binarySearch bitwiseAnd bitwiseNand bitwiseNor
bitwiseNot bitwiseNxor bitwiseOr bitwiseShiftLeft
bitwiseShiftRight bitwiseXor bmod bmul
boolean ccompareEQ ccompareGE ccompareGT
ccompareLE ccompareLT ccompareNE character
checkPointTransaction clean clear closeLog
code commitTransaction compareEQ compareGE
compareGT compareLE compareLT compareNE
compare comparison compile compress
cons count date day
days360 debugBrowsableProcs debugDetective debugEval
debug 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 gc hashString
hour icompareEQ icompareGE icompareGT
icompareLE icompareLT icompareNE importCsv
importSbf importTab 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 isExact
isFloatVector isIdentical isImmediate isInexact
isInside isIntegerVector isInteger isLambda
isMatrix isMember isMoney isNegative
isNull isNumberMatrix isNumberVector isNumber
isObjectVector isObject isOdd isPair
isPcodeVector isPositive isString isStructure
isSymbol isText isTransaction isType
isVector isZero julian left
length lisp list loadModule
loadWorkspace logConsole macroReplace makeQuotedList
makeQuotedSymbol member mid minute
money month morph ncompareEQ
ncompareGE ncompareGT ncompareLE ncompareLT
ncompareNE new number offset
onError openLog pair parent
parse pointer qt quit
ref remove rename replace
rept reset right run
saveImmediate saveModule saveObject saveWorkspace
second 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 symbolToTypeCode symbol systemCheck
system text time trim
type uniqueInsert upcase vectorFill
version 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