[Toc][Index]

@INSTR


@INSTR[start, length, string]:  Returns a substring, starting at the 
position start and continuing for length characters.  If the length is 
omitted, it will default to the remainder of the string.  If the length is 
negative, the start is relative to the right side of the string.  The 
first character in the string is numbered 0; if the length is negative, 
the last character is numbered 0. 
For example, %@INSTR[0,2,%_TIME] gets the current time and extracts the 
hour; %@INSTR[1,-2,%_TIME] extracts the seconds.  If the string includes 
commas, it must be quoted with double quotes ["] or back-quotes [`].  The 
quotes do count in calculating the position of the substring.  @SUBSTR is 
an older version of the same function. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs