Esempio n. 1
0
        public EcString[] Match(EcString pattern)
        {
            var r = new RegExp(pattern.value);

            return(r.Match(this.value).Select(match => new EcString(match)).ToArray());
        }
Esempio n. 2
0
 public EcString Replace(EcString old, EcString New)
 {
     return new EcString(value.Replace(old.value, New.value));
     ;
 }
Esempio n. 3
0
        public EcString Replace(EcString old, EcString New)
        {
            return(new EcString(value.Replace(old.value, New.value)));

            ;
        }
Esempio n. 4
0
 public EcString[] Match(EcString pattern)
 {
     var r = new RegExp(pattern.value);
     return r.Match(this.value).Select(match => new EcString(match)).ToArray();
 }