Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

i need some help with string len and it doesnt print a string?

when i try this script

print(string.len("hello"))

it just prints five. what does len even do??

1 answer

✓ Accepted answer

It prints five because len returns the number of characters in a string. There are five characters in hello. I would consider looking on the wiki instead of asking here first because you have been posting a lot of questions recently that are answered from the roblox dev site.

1 comment

0

ok i try wi to look from the dev site more before posting here.

This discussion is preserved as it was. New answers, comments, and votes are closed.