how to seperate numbers letters in string in c
hisugan
0
Newbie Poster
Recommended Answers
Jump to PostI'm not sure if you want to separate numbers FROM letters, or numbers AND letters, but:
if FROM:
Numbers have lower ascii values than any letter, so any char less than 'A' can't be a letter.if AND:
Remember that a pointer or index can "walk" a string …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.