Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a New Dialog
#13
here is an example using function find and function get
it finds the text either before your bookmark or after your bookmark


;;finds whatever comes before <<**>>
str a="this is all the text before your bookmark<<**>>this is all the text after your bookmark"
int u=find(a "<<**>>")
a.get(a 0 u)
out a
;;
;finds whatever comes after <<**>>
str c="this is all the text before your bookmark<<**>>this is all the text after your bookmark"
int t=find(c "<<**>>")
str d=c.len
int x=val(d)
c.get(c (t+6) x)
out c


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)