# StringModule
Provides helper functions for string manipulation.
## Functions
### string_length
string_length(str) -> intstr.str (string): The input string.str not a string.### string_replace
string_replace(str, from, to, replace_all) -> stringfrom with to in str.str (string): The input string.from (string): Substring to replace.to (string): Replacement substring.replace_all (bool): true to replace all occurrences, false to replace only the first.from is empty.### string_substr
string_substr(str, from, length) -> stringstr.str (string): The input string.from (int): Starting index (0-based).length (int): Number of characters to extract.from or length negative or out of range.## Example
vs var s = "Hello, world!"; printnl(string_length(s)); // 13 printnl(string_replace(s, "world", "VoidScript", false)); // Hello, VoidScript! printnl(string_substr(s, 7, 5)); // world