About 17,000,000 results
Open links in new tab
  1. How To Concatenate Strings into a Variable - Scripting Support ... - Roblox

    Jan 13, 2021 · I’m attempting to concatenate a couple strings together, with the result being the name of a previously called Variable. Example: local dogName = script.Parent.dogLabel -- A StringValue . dogName.Value = "None" for i, v in ipairs (itemsTable) do if v == "dog" then local newName = (v .. "Name")

    Missing:

    • Roblox Studio

    Must include:

  2. Way to combine 2 texts into one? - Scripting Support - Roblox

    Aug 6, 2019 · Are you asking how to combine strings? You can do so by using two periods between the phrases. local combinedString=string1.." "..string2. Just for reference, this (..) is called the concatenation operator. I have this text so far, am I doing something wrong when finding the first name? local char = player.Character. getRole(player)

    Missing:

    • Roblox Studio

    Must include:

  3. Latest way to concatenate strings and variables - Roblox

    Aug 20, 2023 · I always use this format to concatenate strings and variables: a = 'abc' .. VAR .. 'xyz' But I remember that recently there was an improvement in Luau where there was a simpler way to do this in a single sentence, something like abc%VARxyz, but I don’t remember the syntax.

    Missing:

    • Roblox Studio

    Must include:

  4. Strings | Documentation - Roblox Creator Hub

    To combine strings, concatenate them with two dots (..). Concatenating strings doesn't insert a space between them, so you'll need to include space(s) at the end/beginning of a preceding/subsequent string, or concatenate a space between the two strings.

    Missing:

    • Roblox Studio

    Must include:

  5. Concatenate intvalues and string in one TextLabel - Roblox

    Apr 26, 2020 · Use .. to concatenate strings: harvestString .. " / " .. bagString. Thanks you so much it’s working fine @bytechan. As an add-on: .. needs to be used to separate actual strings (can not be a number, bool or data value. Use tostring(value) if you want to add a bool, number or data value to a string) when assigning strings to e.g. TextLabel.Text.

    Missing:

    • Roblox Studio

    Must include:

  6. table.concat | Documentation - Roblox Creator Hub

    Returns the given range of table elements as a string where each element is separated by the given separator.

    Missing:

    • Roblox Studio

    Must include:

  7. How would I concatenate a number with a string to get the name ... - Roblox

    May 4, 2021 · You can use the tostring() function to convert a number to a string and then concatenate it. For what you need, I think you can change. To. --Or if it doesn't work . …

  8. Concatenating a variable name and string to make another ... - Roblox

    Dec 3, 2020 · It has to do with concatenation. I’m trying to concatenate the name of an object with text, which together spell out the name of another existing variable. I keep getting the error "attempt to index string with ‘Text’ ".

    Missing:

    • Roblox Studio

    Must include:

  9. CONCATENATION, PRINT, OUTPUT | Roblox Studio Scripting

    Jan 12, 2024 · In this Roblox Studio scripting scripts tutorial for beginners, you will learn how to use the print statement in Roblox. You will learn how to find your output using the output window. You...

  10. Roblox Scripting: Strings and Concatenation! Very Easy ... - YouTube

    Oct 8, 2020 · Today we will be learning about strings and concatenation in lua! Strings are going to be used a LOT in your scripting career, so make sure you know how to u...

Refresh