wbfans

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年8月21日

摘要: 1.Replace(替换字符):public string Replace(char oldChar,char newChar);在对象中寻找oldChar,如果寻找到,就用newChar将oldChar替换掉。如:string st = "abcdef";string newstring = st... 阅读全文
posted @ 2011-08-21 12:45 wbfans 阅读(1084) 评论(0) 推荐(0) 编辑