摘要: string str = "|||"; Console.WriteLine(str.Substring(0, str.Length - 1)); Console.WriteLine(str.Remove(str.LastIndexOf("|"), 1)); Console.WriteLine(str.Remove(str.Length - 1)); 注:用str.TrimEnd('|')会将所有... 阅读全文
posted @ 2016-10-11 10:08 会弹猫的吉他 阅读(2855) 评论(0) 推荐(0) 编辑
摘要: HTML特殊转义字符列表 最常用的字符实体 显示 说明 实体名称 实体编号 空格 &nbsp; &#160; < 小于 &lt; &#60; > 大于 &gt; &#62; & &符号 &amp; &#38; " 双引号 &quot; &#34; © 版权 &copy; &#169; ® 已注册商标 阅读全文
posted @ 2016-10-11 09:15 会弹猫的吉他 阅读(298) 评论(0) 推荐(0) 编辑