diff options
Diffstat (limited to 'LuaSL/src')
-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 | ||