Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use the QM code to achieve the following CMD code effect
#15
no to find part of a string there are numerous functions

1 example

Code:
Copy      Help
str s ss
s=
;hello world
;QM is very powerful

int i
for i 0 2000000000
,if(ss.getl(s -i)<0) break ;;no more
,if(ss.len=0) continue ;;skip empty
,if find(ss "hello" 0 1)
,,mes F"s Contains characters hello, It is in the ({i}) line"


Messages In This Thread
RE: How to use the QM code to achieve the following CMD code effect - by Kevin - 02-13-2019, 04:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)