public EcString[] Match(EcString pattern) { var r = new RegExp(pattern.value); return(r.Match(this.value).Select(match => new EcString(match)).ToArray()); }
public EcString Replace(EcString old, EcString New) { return new EcString(value.Replace(old.value, New.value)); ; }
public EcString Replace(EcString old, EcString New) { return(new EcString(value.Replace(old.value, New.value))); ; }
public EcString[] Match(EcString pattern) { var r = new RegExp(pattern.value); return r.Match(this.value).Select(match => new EcString(match)).ToArray(); }