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

How do I add strings to the end of values?

Asked by
znepb 17
6 years ago

I dont know how to word this, but heres my code:

questionDescLabel.Text = quizSettings.questionsSettings.questions[number].desc

How do I add a string to the end of this?

0
Value.."String" Viking359 161 — 6y

1 answer

Log in to vote
3
Answered by
jotslo 273 Moderation Voter
6 years ago

You need to concatenate two strings together. You can do this by using the concatenation operator, ..

An example is:

“Hello “ .. “world”

which would return “Hello world”

You can get more information on the ROBLOX wiki here.

Ad

Answer this question