For a typewriter effect, this is an example: Today im showing you how to make a textbox with string.sub. To declare a string variable, put quotes around the characters.
Roblox Sponsor
Roblox Star Creator
Arkose Labs Roblox
ROBLOX Scripting TutorialsEp12 string.sub YouTube
For the methods with a colon, you have to do (“string”):sub(1, 3) the difference is the with.
For instance, you could say this is a string.
Returns the substring of s that starts at i and continues until j. String.sub(msg,6)) kick('game.players.player') it looks like you made some syntax mistakes while changing your code. String.sub() it is a function that can create a smaller string of the inputted string that starts at i and ends at j. It takes a string, and returns ???.
Please note that this is a reupload, i had to took the original one down because their was an issue. It's more common to use double quotes ( ), but single quotes ( ') also work. The start and end parameters indicate the range of characters to extract. No one can forget string.sub!
String.sub(str, start [, end]) extracts a substring from the given string str.
If you want to include. If end is omitted, the. (please make sure to support me by liking the vid!)thi. Well first off, a string is any amount of any characters.
If you want more scripting tutorial videos, why not check out this. With string.sub you can make scrolling text in text boxes!script:debounce = falsescript.parent.mo. I and j can be negative. For the methods with a period, you have to do string.sub(“string”, 1, 3).