Sea.util
From WoWWiki
This article is a part of the documentation of the Sea function library
A library in Sea, Sea.util contains useful functions for doing various things in WoW Lua.
Functions in Sea.util
- hook - hooks a function with another function
- unhook - unhooks a function previously registered
- makeHyperlink - makes a hyperlink string and returns it.
- join - turns a table into a string
- split - splits a string into many parts
- explode (alias of split)
- Sea.string.split (alias of split)
- Sea.string.explode (alias of split)
- fixnil - replaces nils in a list with "(nil)"
- fixnilEmptyString - replaces nils in a list with ""
- fixnilZero - replaces nils in a list with 0
- fixnilSub - replaces nils in a list with what is passed to it
