trimleft(
TEXT
,
COUNT
)

The trimleft( function removes one or more characters from the left edge of the text.


Parameters

This function has two parameters:

text – is the original text.

count – is the number of characters to remove from the beginning of the text.


Description

This function removes one or more characters from the beginning (left edge) of the text.

trimleft("abcdef",1) ☞ bcdef
trimleft("abcdef",2) ☞ cdef
trimleft("abcdef",12) ☞ 

If you want to trim characters from the right end of the text, use the trim( function.

Note: This function is equivalent to:

text[count,-1]

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, however, this function has been fixed to remove the exact count supplied. In previous versions of Panorama, one less than the count would be removed.