11.07.2015 Views

NetEx EFT213 Reference Manual Rel 5.4

NetEx EFT213 Reference Manual Rel 5.4

NetEx EFT213 Reference Manual Rel 5.4

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LEN FunctionThe LEN function returns the count of characters that make up the specified string.Format:Where:stringExamples:len(string)a string expression in the form of a variable, literal, or function.Display the number of characters in “ABCDE”:eFT> text {len(“ABCDE”)}eFT: 5Display the length of the results of the DATE() string function:eFT> text Length = {len(date())}eFT: Length = 16Display only the year portion of the system date by subtracting three from the length of the date and then extractingthe last four characters:eFT> text Year: {ext(date(),sub(len(date()),3),len(date()))}eFT: Year: 2011A simpler form of the example above is:eFT> text Year: {ext(date(),-3,0)}eFT: Year: 2011Page 80 Advanced Local User’s Guide REF-eFT213-R<strong>5.4</strong>-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!