How would I tell how many characters a username has?
Example: If my username is "John Doe"
I want it to print the user has 8 characters in their username.
If anyone can help me thanks :D
How would I tell how many characters a username has?
Example: If my username is "John Doe"
I want it to print the user has 8 characters in their username.
If anyone can help me thanks :D
You can use the length operator (#)
print(#player.Name) -- would print 15 for your username, 6 for mine
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Thank you!
String.len could also work
No problem ;)