C# Class SubStrings, zcw

SubString 的摘要说明
Show file Open project: jerrytan/zcw Class Usage Examples

Public Methods

Method Description
GB2312ToUTF8 ( string str ) : string

GB2312转换UTF8

GetWidth ( int width, string strs, string title ) : string

把字符串截取成固定长度,多余的用...

SubImgPath ( string path ) : string

获取大图片路径

UTF8ToGB2312 ( string str ) : string

UTF8转换GB2312

Method Details

GB2312ToUTF8() public static method

GB2312转换UTF8
public static GB2312ToUTF8 ( string str ) : string
str string
return string

GetWidth() public static method

把字符串截取成固定长度,多余的用...
public static GetWidth ( int width, string strs, string title ) : string
width int 要截取的宽度(多少个汉子的宽度)
strs string 要截取的字符串
title string
return string

SubImgPath() public static method

获取大图片路径
public static SubImgPath ( string path ) : string
path string
return string

UTF8ToGB2312() public static method

UTF8转换GB2312
public static UTF8ToGB2312 ( string str ) : string
str string
return string