Contents: | Main | Chapter | See Also: | Getting Started Manual | Programmer Manual |
Format: |
|
Parameters: |
string is a string expression. n, n1, and n2 are positive integers or expressions yielding positive integers. |
Use: | This function returns a substring from string. If you use only string as a argument, the first character is returned. If you specify one n, the character in that position in the string is returned. If you specify n1 and n2, a string starting at n1 and ending at n2 is returned. |
Examples: |
$E(NAME,3,7)=> ith,A [NAME is Smith,Al] $E(NAME,2)=> m $E(NAME)=> S |
Reviewed/Updated: March 4, 2007