10 6 55 RightMost

LANSA Technical

10.6.55 RightMost

RightMost returns the 'n' rightmost characters from the string.

Input Parameters

Characters - Number of characters to retrieve.

Pad - Pad character to be used if the number of characters exceeds the length of the string.

Example

In this example, if #String contained 'ABCDE' the result would be 'CDE':

#Com_owner.Caption := #String.RightMost(3)

 

In this example, if #String contained 'ABCDE' the result would be '*****ABCDE':

#Com_owner.Caption := #String.RightMost(10 '*')

 

Ý 10.6 Alphanumeric/String Intrinsic Functions