How would I trim a string? For example, the script would change:
- "lol " → “lol”
- " lol" → “lol”
- " " → “”
- " lol " → “lol”
- etc.
How would I trim a string? For example, the script would change:
String = String:gsub("%s+", "")
or
String = string.gsub(String "%s+", "")
Thanks a lot! This worked. (character limit)