So I have a string:
**BOB**123(*&**blah**02938*(*&91820**FOO**
I want to be able to use strtok
to deliminate each word. The delimiter is every single character that is not a letter.
I was suggested to us isalpha
, but not sure how I would go about this. Is there a way to do this without naming every single non-alpha character?
Unfortunately NOT allowed to use regex libraries.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…