android - Deleting a word in a String/String Array -
android - Deleting a word in a String/String Array -
so if adding in string, can add together them via += method(the 1 know , using atm). how can delete word in string/string array?
example: have string
string="monday,tuesday,wednesday" how create
string="monday,wednesday" any help please?
you utilize replace method.
string sentence = "monday,tuesday,wednesday"; string replaced = sentence.replace("tuesday,", ""); android
Comments
Post a Comment