public static string replace(string self, string from, string to) { if (self.Length == 0) return self; return StrUtil.Replace(self, from, to); }