Results: 1Comments by: Rycochet |
File: Toolbox 1.002-12-07 |
New function maybe?
Posted By: Rycochet
Just a quick function that I feel is missing (especially coming from a php background) -
-- Split a string based on pattern into a return
-- optionally trim each element
function Toolbox:Explode(str, pat, trim)
return unpack(self:Split(str, pat or ",", trim))
end
Hope it makes it into the next release, and more ppl come u...
|