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

how to finish names in textboxes?

so i'm extremely confused on the whole :sub and stuff like that when it comes to strings and i'm trying to make something where i only have to type like

fre instead of the entire name like Freaddy

anyone able to point me in the right direction or able to give me a hand

1 answer

I'm having trouble understanding but I think you are asking how to use string.sub()?

If you are asking this, someone has asked (and answered) this question here.

Quote from that post:

string.sub is you know, string.sub. In the parentheses you have your string. "Hi", "Text", "string". Next you have a number. If it's just one number, that means anything before this number will be cut off. string.

You can also see the wiki page for strings here.

If this helped please accept the answer. Thanks.

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