Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day06 统计中文字符,如何去掉标点符号 #5253

Open
yaodadada opened this issue Aug 6, 2019 · 3 comments
Open

Day06 统计中文字符,如何去掉标点符号 #5253

yaodadada opened this issue Aug 6, 2019 · 3 comments

Comments

@yaodadada
Copy link
Contributor

捕获

英文的符号可以替换,为什么中文的不可以?中文的该怎么替换掉?
Google没有找到合适的答案...

@yaodadada
Copy link
Contributor Author

@seven-tears 我试着换了一下 去除标点符号部分 代码的位置 没用........

@liujiayi0042
Copy link
Collaborator

@yaodadada sy这个变量里面的字符是英文字符,你想要去掉中文字符的话,得要把sy改成中文字符

@yaodadada
Copy link
Contributor Author

懂了-v-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants