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.

EXT FunctionThe EXT function extracts and returns a bounded sequence of characters from a string.Format:Where:stringext(string, number1, number2)number1, number2Example:a string expression in the form of a variable, literal, or function.the lower and upper boundary limits for the characters to be extracted from ‘string’.Parameter values less than or equal to zero are interpreted relative to the end of thestring.Display the sequence “CDE” from the string “ABCDEF”:eFT> text {ext("ABCDEF",3,5)}eFT: CDEThe same sequence (“CDE”) may be displayed by using parameter values relative to the end of the string, asshown:eFT> text {ext(“ABCDEF”,-3,-1)}eFT: CDEDisplay only the Hours and Minutes of the system time:eFT> text Time: {ext(time(),1,5)}eFT: Time: 14:27Define the input prompt to display ‘NTXeFT’ and the Version Number of <strong>NetEx</strong>/eFT extracted from‘VERSION:LOCAL’:eFT> set input prompt {} NTXeFT {ext(version:local,1,3)}>NTXeFT 2.0>Page 78 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!