67 741
contributi
(Wikilink to final list) |
(TestSpaces) |
||
Riga 135: | Riga 135: | ||
end | end | ||
--- | --- Test function for array manipulation | ||
-- | -- | ||
-- @param | -- @param frame | ||
-- @return | -- @return Processed string | ||
function p.TestArray(frame) | function p.TestArray(frame) | ||
local TestGroups = {"A", "B", "C", "B", "C"} | local TestGroups = {"A", "B", "C", "B", "C"} | ||
Riga 209: | Riga 209: | ||
return FinalString | return FinalString | ||
end | |||
--- Test function for spaces identifiaction | |||
-- using regex | |||
-- @param frame | |||
-- @return Processed string | |||
function p.TestSpaces(frame) | |||
local TestString = "Seven of Nine" | |||
return string.find(TestString, "[^%s]+$") | |||
end | end | ||
return p | return p |