java - Searching for a '$' in a string -


how can make working. want check if string contains $ sign.

if(messagesuccess.îndexof('$')>0) 

this error getting:

no signature of method: java.lang.string.îndexof() applicable argument types: (java.lang.string) values: [$] 

thanks

you invoking method not exist :îndexof() change indexof(), change î i


Comments

Popular posts from this blog

Multilayer CSV to filtered excel -

Listboxes in c# -

ios - Why must I define variables twice in the Header file? -