i need a way of detecting a special character in a string of text
eg:
i have a mp3 file with the name "Sweet Family Attitude - 8 Days A Week (10° Below Vs X.Men-Mix).mp3", the char marked in red is the troublesome one
it seems that my audio engine dosent like special character, it will not play the file or read its id3 tags and i get a error report from the ocx i am useing saying "invalid file", but if i change the name or remove the special char then it works ok but i want to be able to track the fault in the invalid file and inform the user to change the filename (or remove special char)
any ideas or pointers
eg:
i have a mp3 file with the name "Sweet Family Attitude - 8 Days A Week (10° Below Vs X.Men-Mix).mp3", the char marked in red is the troublesome one
it seems that my audio engine dosent like special character, it will not play the file or read its id3 tags and i get a error report from the ocx i am useing saying "invalid file", but if i change the name or remove the special char then it works ok but i want to be able to track the fault in the invalid file and inform the user to change the filename (or remove special char)
any ideas or pointers
Comment