.net framework自带的帮助,或者MSDN,查string.就全了~~

解决方案 »

  1.   

    MSDN
    http://blog.csdn.net/axe8/archive/2004/07/23/50363.aspx
    http://blog.csdn.net/dreamlins/archive/2006/09/11/1207086.aspx
      

  2.   

    http://msdn2.microsoft.com/en-us/library/system.string(VS.80).aspxhttp://msdn2.microsoft.com/en-us/library/system.string_members(VS.80).aspx
      

  3.   

    看看这个博客上介绍的一些字符串函数吧
    http://www.cnblogs.com/runfeng/archive/2006/01/24/322653.html
      

  4.   

    常用字符串函数 
    长度与分析用 
    datalength(Char_expr) 返回字符串包含字符数,但不包含后面的空格 
    substring(expression,start,length) 不多说了,取子串 
    right(char_expr,int_expr) 返回字符串右边int_expr个字符 
    字符操作类 
    upper(char_expr) 转为大写 
    lower(char_expr) 转为小写 
    space(int_expr) 生成int_expr个空格 
    replicate(char_expr,int_expr)复制字符串int_expr次 
    reverse(char_expr) 反转字符串 
    stuff(char_expr1,start,length,char_expr2) 将字符串char_expr1中的从 
    start开始的length个字符用char_expr2代替 
    ltrim(char_expr) rtrim(char_expr) 取掉空格 ascii(char) char(ascii) 两函数对应,取ascii码,根据ascii吗取字符 字符串查找 
    charindex(char_expr,expression) 返回char_expr的起始位置 
    patindex("%pattern%",expression) 返回指定模式的起始位置,否则为0