Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two Q's: dialog color; compare a number in an edit box
#17
Gintaras Wrote:To find text use string functions. For example, find, or findw, or findrx. Look in QM help.

Or
Macro
Code:
Copy      Help
str s="one[]two"
str e8="two"

ARRAY(str) a; int i
a=s
for(i 0 a.len) if(a[i]=e8) break
if(i<a.len)
,out "found"
else
,out "not found"
,

How would i make this code search id(15"Notepad") for the word "macro" in a sentance or pargraph?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)