Exemple #1
0
        public override DustObject Subtract(DustObject other)
        {
            if (other is DustString)
            {
                return(new DustString(Value.Replace(other.ToString(), "")));
            }

            return(base.Subtract(other));
        }
Exemple #2
0
 public override DustObject Add(DustObject other)
 {
     return(new DustString(Value + other.ToString()));
 }