Expand description
String utilities
Windjammer’s std::strings module maps to these functions.
Functions§
- contains
- Check if string contains substring
- ends_
with - Check if string ends with suffix
- is_
empty - Check if string is empty
- join
- Join strings with delimiter
- len
- Get string length
- replace
- Replace all occurrences
- split
- Split string by delimiter
- starts_
with - Check if string starts with prefix
- substring
- Get substring from start to end index (exclusive)
- to_
lower - Convert to lowercase
- to_
upper - Convert to uppercase
- trim
- Trim whitespace