Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Unicode Intrinsic Functions - Trim Method

Panel
bgColor#2c3c4c

Trim characters from either end of the string

Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Unicode String

Resulting string

OfText

*Input (Optional)

Unicode String

Characters to be trimmed

Details

Trim can be used to remove leading and trailing blanks, or other characters, from a string.

The OfText parameter can contain more than one character.

Example

In this example, if #String contained " ABCDE ", the result would be "ABCDE"

     #Com_owner.Caption := #String.Trim


See also

All Component Classes

Technical Reference