You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Compatible Unicode Intrinsic Functions - RightMost Method
Get the right most characters from the string
Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Unicode String

Resulting string

Characters

*Input (Optional)

Integer

Number of characters to return

Pad

*Input (Optional)

Unicode String

Pad character used to replace blanks in the result

Details


RightMost returns the 'n' riost characters from 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 ?*?)

See also

All Component Classes
Technical Reference

  • No labels