I am making an app based on json web service .I am facing some problem ,I have a string and I have to split it and then make clickable .Let me clear my problem:
->string which I have something like: "#outfit#fashion#color" or "#outfit" or "#outfit is really awsome."
->Now I want to change the color to blue of the substrings: #outfit,#fashion,#color etc...and rest substring will black.
->Also I want to make it clickable For Example : #outfit will click and fetch all the data related to #outfit tag. Same as the tag concept works.
->I have many types of string and I want logic will work in every condition:
- "#outfit#fashion#color"
- "#outfit"
- "#outfit is really awsome."
- "check my new #dress ,the brand #new #outfit.Isn't #cool? "
Thanks in advance.Just want to make all tags will be blue colored and clicked.Please describe me with full code as my logic is not so good..