Suppose i have a String, below
String myText="I'm a android developer and i'm developing an android app";
so i want to split the above string with(" ' "), and want to put it on a textView so how it is possible. i have used this code
split(Pattern.quote("'"));
so my complete code is :
textUser.setText(User);
String[] newDesc=Description1.split(Pattern.quote("'"));
for(String w:newDesc){
textDesc.setText(w);
}
but this is not working. Please resolve my issue
String[] newDesc=Description1.split("'");