About 389,000 results
Open links in new tab
  1. string | Documentation - Roblox Creator Hub

    The string library provides generic functions to manipulate strings, such as to extract substrings or match patterns. You can access the string library by the global string library. See String Pattern Reference for details on using string.match () and string.gmatch () to find a piece, or substring, of a longer string. pack (format :string,...

  2. Strings | Documentation - Roblox Creator Hub

    A string pattern is a combination of characters that you can use with string.match(), string.gmatch(), and other functions to find a piece, or substring, of a longer string. Direct matches. You can use direct matches in a Luau function like string.match(), except for magic characters. For example, these commands look for the word Roblox within ...

  3. Best way to copy a long string from a variable? - Roblox

    Oct 28, 2018 · So I have a long string (what will be the source of a script) that is generated by a script and I would like to set another script’s Source to be this string. I think if you add random …

  4. How to properly handle large numbers - Community Resources - Roblox

    Aug 28, 2020 · ‘string numbers’ can be used in your code, by using the built-in tonumber() function. This will convert any string into an integer, as long as it is able to do so. (For instance, tonumber(“abc”) would not work, as ‘abc’ is not an integer)

  5. Stop truncating strings in Output - Studio Features - Roblox

    Mar 18, 2024 · I occasionally need to inspect some very large string for debugging or collecting stats. Usually this string represents data from a datastore. For example, a player recently reported their data may have been corrupted, s…

  6. string.format | Documentation - Roblox Creator Hub

    You can convert variables into user-friendly strings of text using the string.format() function. The function requires the following format: %[flags][width].[precision][specifier]. Specifiers. The most important part of string formatting is the specifiers.

  7. String too long - Trying to edit source of script - Studio ... - Roblox

    Jan 19, 2019 · Currently developing a git integration plugin, and it requires modifying the source of the scripts to change to newer versions, and prepend git related data at the top of the script, and phantom forces has really large singular scripts, which this bug conflicts with.

  8. string.split | Documentation - Roblox Creator Hub

    Splits a string into parts based on the defined separator character(s), returning a table of ordered results. If an empty "slice" is located, that part will be returned as an empty string. For instance string.split("abc||def", "|") will return a table with three strings: "abc", "", and "def".

  9. String interpolation available for Studio - Announcements - Roblox

    Jan 4, 2023 · String interpolation is the new syntax that allows you to create a string literal with expressions inside of that string literal. You can read about it in the RFC for string interpolation. In short, it’s a safer and more ergonomic alternative over string.format.

  10. string.len | Documentation - Roblox Creator Hub

    Returns the length of a string.

  11. Some results have been removed