Caché MultiValue Basic Reference
|An expression that resolves to a string from which the rightmost characters are returned.|
|An expression that resolves to a positive integer indicating how many characters to return. If 0, a zero-length string ("") is returned. Fractional numbers are truncated to an integer. If greater than or equal to the number of characters in string, the entire string is returned. No padding is performed.|
AnyString = "Hello World" PRINT RIGHT(AnyString,1); ! Returns "d" PRINT RIGHT(AnyString,5); ! Returns "World" PRINT RIGHT(AnyString,20); ! Returns "Hello World"