Fandom

WoWWiki

Sea.string

104,635pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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