Trims whitespace from both ends of a text string.
All Unicode whitespace characters are counted, whether they can cause a break or not.
https://www.byond.com/docs/ref/#/proc/trimtext