aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-16 20:07:37 +1000
committerDavid Walter Seikel2014-05-16 20:07:37 +1000
commit46050da42f9e554b9be78f5a7c987df85665bdc5 (patch)
treeb5bc02429d2e9804895734bc2a14f65119380ef2
parentOK, put the safe one back, for now. (diff)
downloadSledjHamr-46050da42f9e554b9be78f5a7c987df85665bdc5.zip
SledjHamr-46050da42f9e554b9be78f5a7c987df85665bdc5.tar.gz
SledjHamr-46050da42f9e554b9be78f5a7c987df85665bdc5.tar.bz2
SledjHamr-46050da42f9e554b9be78f5a7c987df85665bdc5.tar.xz
Implement llStringLength().
-rw-r--r--lib/LSL.lua5
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
867function --[[integer]] LSL.llStringLength(--[[string]] s)
868 return string.len(s)
869end
870
871
867function --[[string]] LSL.llGetSubString(--[[string]] text, --[[integer]] start, --[[integer]] End) 872function --[[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