www.pudn.com > baoyouzhuomian.zip > SChange.cs, change:2011-07-22,size:483b


using System; 
using System.Collections.Generic; 
using System.Text; 
 
namespace 我的工程 
{ 
    class SChange 
    { 
        public string Schange(string a) 
        { 
            char sqil = '\\'; 
            string[] strs = a.Split(sqil); 
            for (int i = 0; i < strs.Length-1; i++) 
            { 
                    strs[i] = strs[i] ; 
            } 
            string b = string.Join(sqil.ToString(), strs); 
            return b; 
        } 
    } 
}