Sea.string
From WoWWiki
This article is a part of the documentation of the Sea function library
A library of Sea, Sea.string contains various string manipulation functions
Functions in Sea.string
- 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
