Hi guys I want to change the colour of specific words that are starts from the @ or # in the string just like abc@yahoo.com i want to change all the character that is after and also show it into textview @
String[] parts=str.split(" ");
for (int i = 0; i < parts.length; i++) {
if(parts[i].startsWith("@") || parts[i].startsWith("#"))
{
System.out.println(part[i]);
}
this will give me tokens but i want to show the whole string with modify words