Using some string functions will print out a random number of spaces and then, for example, in string.gsub will print out how many replacements made, and for string.trim it printed out 1 (I don’t get it, there were several newlines and spaces, but whatever)
Does this happen to everyone? I’ve only tried this client-side, any solutions?
This is some code lines I have problems with:
str is the SteamID string passed through the function, everything works as expect except for what it adds
- works fine, except for newlines before and after
- prints whitespace and the number 1