Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)

Unicode intrinsic functions

Ancestors - None

Details

Container for all Unicode intrinsic functions

Methods

NameDescription
AsBooleanReturn a string as a Boolean
Result, FalseCaption, TrueCaption
AsCodePointReturn the string as a codepoint
Result
AsDateReturn a string as a date
Result, Format
AsDateTimeReturn a string as a datetime
Result, Format
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
AsNativeStringReturn the string as a native string
Result
AsNumberReturn the variable as a number
Result
AsSqlHexLiteralConvert a Unicode string to a database specific string
Result, DataBaseType
AsTimeReturn the variable as a time
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
CenterCenter the string within the variable
Result, Length, Pad
CentreCentre the string within the variable
Result, Length, Pad
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
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
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
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
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