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
Post a Comment