Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llStringLength C# (CSharp) 메소드

llStringLength() 공개 메소드

public llStringLength ( string str ) : Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLInteger
str string
리턴 Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLInteger
        public LSL_Integer llStringLength(string str)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return 0;

            if (str.Length > 0)
            {
                return str.Length;
            }
            return 0;
        }
LSL_Api