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.

INDEX FunctionThe INDEX function returns the position of the second string specified within the first string. The functionreturns zero if the second string is not found.Format:Where:index(string1, string2)string1, string2Examples:string expressions in the form of a variable, literal, or function.Display the position of the sequence “CDE” within “ABCDEF”:eFT> text {index(“ABCDEF”, “CDE”)}eFT: 3Find the position of the month March in a string containing a list of the months:eFT> text {Index(“JanFebMarAprMayJunJlyAugSepOctNovDec”, “Mar”)}eFT: 7The following is an example of an index() search that failed to find the second string within the first:eFT> text {index("abcdef","cat")}eFT: 0REF-eFT213-R<strong>5.4</strong>-08 Advanced Local User’s Guide Page 79

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

Saved successfully!

Ooh no, something went wrong!