LenChars / String Layer
Count the number of characters (Unicode code points) in each string. Similar to Python's len(str) or Rust's str.chars().count(). Counts actual characters regardless of their byte size. Useful for:
- Text length validation
- Character count limits (e.g., tweets, usernames)
- Working with multilingual text
- Display width estimation
Table
0
0
Table
Select
columnThe string column to count characters from. Handles any valid UTF-8 text including emojis, international scripts, and special characters.
AsColumn
nameName for the new column. If not provided, the system generates a unique name. If AsColumn
matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.