guys,
I am developing a social media app and I want people to see hashtags and for that, I want to check if a string contains any hashtags like : #I_am_nice.
Notice that I want to get all the hashtag not only the first word after hashtag mark(#).
My wants :
if (string.contains(Hashtag)) {
print(hashtag);//Hashtag String
} else {
//No Hashtags
}
thanks,
Aucun commentaire:
Enregistrer un commentaire