Ejemplo n.º 1
0
        public static SkryptObject Contains(SkryptEngine engine, SkryptObject self, Arguments arguments)
        {
            var str   = self as StringInstance;
            var input = arguments.GetAs <StringInstance>(0);

            return(engine.CreateBoolean(str.Value.Contains(input.Value)));
        }