Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Compatible Unicode intrinsic functions

Ancestors - None

Details

Container for all compatible unicode intrinsic functions.

Methods

NameDescription
AsBooleanReturn a string as a Boolean
Result, FalseCaption, TrueCaption
AsCodePointReturn the UTF16 code table value for the character
Result
AsDateReturn a string as a date
Result, Format
AsDateTimeReturn a string as a datetime
Result, Format
AsDbcsFixedCharReturn the string as a Fixed length DBCS string
Result, TargetLength
AsDbcsStringReturn the string as a DBCS string
Result
AsDurationReturn the string as a duration
Result
AsFloatReturn the string as a float
Result
AsGregorianDayReturns the variable in Gregorian day format
Result
AsGregorianMonthReturns the variable in Gregorian month format
Result
AsGregorianMonthDayReturns the variable in Gregorian month day format
Result
AsGregorianYearReturns the variable in Gregorian year format
Result
AsGregorianYearMonthReturns the variable in Gregorian year month format
Result
AsIntegerReturn the variable as an integer
Result
AsNativeStringConvert the UTF String to native
Result
AsNumberReturn the variable as a number
Result
AsSbcsStringReturn the variable as a single byte character string
Result
AsSqlHexLiteralConvert a Unicode string to a database specific string
Result, DataBaseType
AsTimeAsTime method
Result, Format
AsValueReturn the variable as a value if SQLNull
Result, Default
BlankConcatConcatenate strings with a blank between each
Result, String1, String2, String3, String4, String5, String6, String7, String8, String9
ByteTypeAtReturn the byte type at a specific position in the string
Result, Index
CenterCenter the string within the variable
Result, Length, Pad
CentreCentre the string within the variable
Result, Length, Pad
CharTypeAtReturn the character type at a specific position in the string
Result, Position
CompareCompare two strings
Result, To, CompareKind, IgnoreCase
ComputeHashCalculate a hash value
Result, Usage, Algorithm
ConcatConcatenate strings ignoring trailing spaces
Result, String1, String2, String3, String4, String5, String6, String7, String8, String9
ContainsTest to see is a string is contained in the variable
Result, String, StartPosition
ContainsOnlyTest to see if the strings contains only the specified characters
Result, String
CurCharsThe number of characters in the string
Result
CurEbcdicSizeLength of the string in EBCDIC
Result
CurSizeLength of the variable content in bytes
Result
DecryptDecrypt the string using the TEA algorithm
Result, Key
DeleteSubstringDelete part of a string
Result, StartPosition, Length
EncryptEncrypt the string using the TEA algorithm
Result, Key
InsertStringInsert a string in a string
Result, String, At, Pad
IsBooleanTest if the string is a Boolean
Result, FalseCaption, TrueCaption
IsDateTest if the variable is a date
Result, Format
IsDateTimeTest if the variable is a datetime
Result, Format
IsDbcsTest if the string is DBCS
Result
IsDurationTest whether the string is a valid duration
Result
IsFloatTest whether the string is a valid float
Result
IsGregorianDayTest if the variable is a Gregorian day
Result
IsGregorianMonthTest if the variable is a Gregorian month
Result
IsGregorianMonthDayTest if the variable is a Gregorian month day
Result
IsGregorianYearTest if the variable is a Gregorian year
Result
IsGregorianYearMonthTest if the variable is a Gregorian year month
Result
IsHashEqualDoes the hash value match the derived value
Result, Hash, Usage, Algorithm
IsMatchDoes the string match the regular expression
Result, Pattern
IsMixedTest if the string contains SBCS and DBCS characters
Result
IsNotSqlNullTest if the variable is not SQLNull
Result
IsNullTest if the variable is a LANSA null
Result
IsNumberTest if the variable is a number
Result
IsSbcsTest if the string is DBCS
Result
IsSqlNullTest if the variable is SQLNull
Result
IsTimeTest if the variable is a valid time
Result, Format
IsValidEmailTest whether the string contains a valid email address
Result
IsValidPasswordTest whether the string contains a valid password
Result, Strength
LastPositionInFind the last position of the subject in a string
Result, String
LastPositionOfFind the last position of the value in this variable
Result, String
LeftMostGet the left most characters from the string
Result, Characters, Pad
LeftTrimTrim characters from the left of the string
Result, OfText
LowerCaseConvert a string to lower case
Result
MaxReturns the largest string
Result, String1, String2, String3, String4, String5, String6, String7, String8, String9
MinReturns the smallest string
Result, String1, String2, String3, String4, String5, String6, String7, String8, String9
OccurrencesInFind the number times the string occurs in a variable
Result, String, StartPosition
OccurrencesOfOccurrencesOf method
Result, String, StartPosition
PositionInFind the position of this variable in a string
Result, String, StartPosition
PositionOfFind the position of a string in this variable
Result, String, StartPosition
RemoveRemove the specified string from the source
Result, Object
RemoveAllRemove all occurrences of the specified string from the source
Result, Object
RemoveCharactersRemove all occurrences of the specified characters from the source
Result, Object
RepeatRepeat a string a number of times
Result, Times
ReplaceReplace the specified string
Result, Object, Replacement
ReplaceAllReplace all occurrences of the specified string in the source
Result, Object, Replacement
ReplaceSubstringReplace a portion of a string with a new value
Result, StartPosition, Length, With, Pad
ReverseReverse a string
Result
RightAdjustRight adjust the string
Result, Length, Pad
RightMostGet the right most characters from the string
Result, Characters, Pad
RightTrimTrim characters from the right of the string
Result, OfText
SubstituteEmbed strings at specific substitution points (&1 &2 etc)
Result, String1, String2, String3, String4, String5, String6, String7, String8, String9
SubstringReturn part of a string
Result, StartPosition, Length, Pad
TranslateCharactersTranslate the specified characters
Result, From, To
TrimTrim characters from either end of the string
Result, OfText
TrimBlankConcatConcatenate with blanks trimming trailing blanks
Result, String1, String2, String3, String4, String5, String6, String7, String8, String9
TrimConcatConcatenate trimming trailing blanks
Result, String1, String2, String3, String4, String5, String6, String7, String8, String9
TrimSubstituteEmbed strings at specific substitution points (&1 &2 etc) trimming trailing blanks
Result, String1, String2, String3, String4, String5, String6, String7, String8, String9
UpperCaseConvert to upper case
Result
UrlDecodeConvert an encoded URL to text
Result
UrlEncodeConvert a URL to encoded text
Result

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2