Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CC.LIB - ClipCode CLIPPER S'87 Library - <b>atnext() find the n'th occurrence of a character in a string</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ATNEXT()    Find the n'th occurrence of a character in a string

 Syntax....: ATNEXT( char,string,occur )
 Parameters: <expC>: char   = the character to be located
             <expC>: string = the string to be searched
             <expN>: occur  = the n'th occurrence to located

 Returns...: <expN>: the position in the string of the found char, else 0
 Cautions..: none
 CC Calls..: none
 Alias.....: none

 Example...: pos= ATNEXT( "a","AaBbAaBb",2 )        && Result: pos = 6

See Also: CHRCNT ALPHAAT

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson