Android Question Like Syntax

Star-Dust

Expert
Licensed User
Longtime User
I personally use string.contains. I you want to check a similar like "%MAURO%" you can use if mystring.contains("MAURO")
For like "%MAURO%" you can use if mystring.IndexOf("MAURO")>-1 then
and For Don't like "%MAURO%" you can use if mystring.IndexOf("MAURO")=-1 then
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…