Expand description
String processing utilities
Functionsยง
- camel_
to_ snake - Convert camelCase to snake_case
- count_
lines - Count lines in a string
- dedent
- Remove common leading whitespace from all lines
- extract_
identifier - Extract identifier/name from a file path
- is_
likely_ binary - Check if string is likely binary content
- snake_
to_ camel - Convert snake_case to camelCase
- truncate
- Truncate a string to a maximum length, adding ellipsis if needed