Skip to content
TheJoshua974 edited this page Oct 6, 2017 · 4 revisions

String Library

  • string.random()
    Arguments: count,min,max (Not obligatory required)
    Generates a random string, count is how much characters, min is minimum byte and max is maximum byte

  • string.split()
    Arguments: string, split
    Split a string a returns the splitted content as a table

  • string.mix()
    Arguments: string
    Mixs a string randomly

  • string.startswith()
    Arguments: string, pattern
    Checks if a string starts with the given pattern

  • string.endswith()
    Arguments: string, pattern
    Checks if a string ends with the given pattern

  • string.encode.hex
    Arguments: string
    Encodes a string to hex

  • string.decode.hex
    Arguments: string
    Decodes a string to hex

  • string.encode.b64
    Arguments: string
    Encodes a string to Base 64

  • string.decode.b64
    Arguments: string
    Decodes a string to Base 64

  • string.totable
    Arguments: string
    Turns a string to a table

Clone this wiki locally