dimanche 29 mars 2015

Detecting "♪" in String

I'm really sorry if this has been posted before but I simply can't find the answer online.


I am reading in subtitles and wish to exclude the theme song/ending. They are denoted at the beginning of a line with the "♪" symbol. I tried to use the ASCII value and the chr() command but was unable to get it working.


If someone could post a way to see when the "♪" symbol is in a string it would be much appreciated.


Thanks for your time.


Aucun commentaire:

Enregistrer un commentaire