diff options
author | David Walter Seikel | 2012-02-23 03:30:04 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-23 03:30:04 +1000 |
commit | e4b9fa71c76ea96483015a5182436792a283bdb6 (patch) | |
tree | 629f00e86564c0bcb30b95ebfa4c22c18c255fd5 | |
parent | Implement llSubStringIndex(). (diff) | |
download | SledjHamr-e4b9fa71c76ea96483015a5182436792a283bdb6.zip SledjHamr-e4b9fa71c76ea96483015a5182436792a283bdb6.tar.gz SledjHamr-e4b9fa71c76ea96483015a5182436792a283bdb6.tar.bz2 SledjHamr-e4b9fa71c76ea96483015a5182436792a283bdb6.tar.xz |
White space++.
-rw-r--r-- | LuaSL/src/LSL.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LuaSL/src/LSL.lua b/LuaSL/src/LSL.lua index 3ca31a8..826cbe3 100644 --- a/LuaSL/src/LSL.lua +++ b/LuaSL/src/LSL.lua | |||
@@ -612,6 +612,7 @@ end | |||
612 | 612 | ||
613 | function --[[integer]] LSL.llSubStringIndex(--[[string]] text, --[[string]] sub) | 613 | function --[[integer]] LSL.llSubStringIndex(--[[string]] text, --[[string]] sub) |
614 | local start, End = string.find(text, sub, 1, true) | 614 | local start, End = string.find(text, sub, 1, true) |
615 | |||
615 | if nil == start then return -1 else return start - 1 end | 616 | if nil == start then return -1 else return start - 1 end |
616 | end | 617 | end |
617 | 618 | ||