issues
search
ooolky
/
NoteBook
0
stars
0
forks
source link
c++ - 字符串查找非字母/数字字符
#127
Open
ooolky
opened
7 months ago
ooolky
commented
7 months ago
参考
https://stackoverflow.com/questions/10505987/detect-non-alphabetic-characters-in-a-mixed-string
步骤
std::all_of(text.begin(), text.end(), isalnum)