Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

how can i add a word to a part of string? [closed]

Asked by 4 years ago

i have a text like

print

local Example = nil

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

0
What do you mean I need more information GreenBushed 13 — 4y
0
we have blah blah example blah string and we dont know it Ariya1234gamer 15 — 4y
0
what do you want do you not know how to press ( on your keyboard or something lol Dan_PanMan 227 — 4y

Closed as Not Constructive by User#23252 and JesseSong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
-1
Answered by 4 years ago

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)

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 Dan_PanMan 227 — 4y
Ad