Wikia

WoWWiki

Sea.string

Talk0
101,363pages on
this wiki
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

Around Wikia's network

Random Wiki