Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find replace
#1
i need to be able to feed a variable into a findreplace statement. how can i do this?

Code:
Copy      Help
x.findreplace("[]" "%s") y

Thanks.
#2
str s.format("...%s..." variable)
x.findreplace("[]" s)

Tip: If using regular expressions, place variables between \Q and \E.


Forum Jump:


Users browsing this thread: 1 Guest(s)