We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in golang, len(string) returns the number of bytes,Is it possible renturn the number of chars in EXPR?
len("北京") == 6 utf8.RuneCountInString("北京") == 2 // expect
The text was updated successfully, but these errors were encountered:
What we can do is to introduce a new runeCount() built in function. And additional parameter expr.lenUsesRuneCountForString().
runeCount()
expr.lenUsesRuneCountForString()
Sorry, something went wrong.
No branches or pull requests
in golang, len(string) returns the number of bytes,Is it possible renturn the number of chars in EXPR?
The text was updated successfully, but these errors were encountered: