Take Command / TCC Help v. 13.03

@LEFT

Hide Navigation Pane

@LEFT

Previous topic Next topic No directory for this topic No expanding text in this topic  

@LEFT

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

@LEFT[n,string] : If n is positive, it returns the leftmost n characters of string. If n is greater than the length of string, it returns the entire string. If n is negative, it returns string after dropping its rightmost n characters, unless -n is greater than the length of string, in which case it returns an empty string.

 

Examples:

 

%@LEFT[2,jpsoft]jp
%@LEFT[22,jpsoft]jpsoft
%@LEFT[-2,jpsoft]jpso
%@LEFT[-22,jpsoft]empty string

 

Comments (...)