TrimEnd() public static method

从当前字符串结尾移除另一字符串,不区分大小写,循环多次匹配后缀
public static TrimEnd ( String str ) : String
str String 当前字符串
return String
コード例 #1
0
 public static string TrimEnd(string sourceStr, string trimStr)
 {
     return(StringHelper.TrimEnd(sourceStr, trimStr, true));
 }