A
Anil Gupte
I must have missed it. It cannot be possible. Or may be I am living in the
past of my lisp programming days.
There must be a function to find the nth occurrence of a string within
another. instr only gives you the first one. Of course I can write a
function that recurses n times to get the nth occurrence, but there must be
a native version, right? To clarify, lets say I want the 3rd x in this
string:
strMine="xxoooxoxoxo"
instrNth=(strMine, "x", 3)
returning 6
Any ideas?
past of my lisp programming days.
There must be a function to find the nth occurrence of a string within
another. instr only gives you the first one. Of course I can write a
function that recurses n times to get the nth occurrence, but there must be
a native version, right? To clarify, lets say I want the 3rd x in this
string:
strMine="xxoooxoxoxo"
instrNth=(strMine, "x", 3)
returning 6
Any ideas?