From 46050da42f9e554b9be78f5a7c987df85665bdc5 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 16 May 2014 20:07:37 +1000 Subject: Implement llStringLength(). --- lib/LSL.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') 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 -- LSL string functions +function --[[integer]] LSL.llStringLength(--[[string]] s) + return string.len(s) +end + + function --[[string]] LSL.llGetSubString(--[[string]] text, --[[integer]] start, --[[integer]] End) -- Deal with the impedance mismatch. if 0 <= start then start = start + 1 end -- cgit v1.1