字符串处理

来源:互联网 发布:明道办公软件 编辑:程序博客网 时间:2024/05/04 23:58
  1. Html = Html.Substring(Html.IndexOf("<p>") + 3);
  2. Html = Html.Substring(0, Html.IndexOf("<"));
  1. string[] arry = now.Split(new string[] { "</script>" }, StringSplitOptions.RemoveEmptyEntries);