Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find Next?
#1
Hi,

I am using find to find a piece of text in my string, however I want to find the location of the second occurance of the text.

eg. String = "This TEXT is just test TEXT"

So I would want to find the location of the second TEXT.

Is there a way to do this?

I tried using..

Code:
Copy      Help
int i = find(description "TEXT")

which found the first TEXT, but cant figure out how to find the second TEXT.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)