104,545pages on
this wiki
Add New Page
Add New Page Talk0
This article is a part of the documentation of the Sea (AddOn) function library

A library of Sea, Sea.string contains various string manipulation functions

Functions in Sea.string Edit

  • byte (string) - returns the string in byte code.
  • byteSum (string) - returns the sum of the characters as bytes
  • toInt (string) - converts the string to an integer.
  • fromTime (string) - converts the string to generic h:m:s format
  • capitalizeWords (string) - converts a string of words to first-letter capitalized words
  • objectToString (string) - converts any type of lua object, except functions to a string
  • stringToObject (object) - converts a string created by objectToString into a lua object.
  • colorToString - converts a color table into an AARRGGBB string
  • stringToColor - converts an RRGGBB or AARRGGBB string into a Blizzard color table

Also on Fandom

Random Wiki