I am writing some code right now to make my media player play cds. One thing I need to do is get the track number of the cd. For right now, i think the easiest way would be to trim some text off of the track title. All the tracktitles are like "Track01, Track09, Track15, etc..." How would I grab only the "1" off of the end if the track # is less than 10 and the whole number if it is equal to or greater than 10?
Thanks.




Reply With Quote