Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search in reverse order?
#4
Macro Macro477
Code:
Copy      Help
str s=
;Hello
;Goodbye
;Goodbye
;Hello
;Goodbey
;Twelve monkeys

int i=FindLast(s "Hello" 2)
if(i<0) end "not found"
str s2.get(s i)
out s2


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)