diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/LSL.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/LSL.lua b/lib/LSL.lua index 2d96603..6306045 100644 --- a/lib/LSL.lua +++ b/lib/LSL.lua | |||
@@ -864,6 +864,11 @@ end | |||
864 | 864 | ||
865 | -- LSL string functions | 865 | -- LSL string functions |
866 | 866 | ||
867 | function --[[integer]] LSL.llStringLength(--[[string]] s) | ||
868 | return string.len(s) | ||
869 | end | ||
870 | |||
871 | |||
867 | function --[[string]] LSL.llGetSubString(--[[string]] text, --[[integer]] start, --[[integer]] End) | 872 | function --[[string]] LSL.llGetSubString(--[[string]] text, --[[integer]] start, --[[integer]] End) |
868 | -- Deal with the impedance mismatch. | 873 | -- Deal with the impedance mismatch. |
869 | if 0 <= start then start = start + 1 end | 874 | if 0 <= start then start = start + 1 end |