find substring string

Cor

Active Member
Licensed User
Longtime User
How to find substring in string?

e.g

B4X:
dim matcher1 as matcher

Matcher1=Regex.Matcher(sSearchText,line)

if matcher1.find=true then
  toastshowmessage("found",false)
end if

want true as result if sSearchText is found in line

grCor
 
Last edited:
Top