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

how can i add a word to a part of string?

i have a text like

print

local Example = nil

i want to add "(" on the print how could i do this? Thanks

3 comments

0

What do you mean I need more information

0

we have blah blah example blah string and we dont know it

0

what do you want do you not know how to press ( on your keyboard or something lol

1 answer

✓ Accepted answer

this might be wrong but try this.

--variable
local Example = nil

--it will print nil
print ("Example")

I didn't understand your question to much to change what it prints change nil to anything you want. to change the variable change Example to anything (Both of the Examples)

1 comment

0

all that does is print "Example", you didnt even put the variable that was supposed to be printed. If you did print(Example) then it would have printed nil lol

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