C# Class SubStrings, zcw

SubString 的摘要说明
Afficher le fichier Open project: jerrytan/zcw Class Usage Examples

Méthodes publiques

Méthode 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 méthode

GB2312转换UTF8
public static GB2312ToUTF8 ( string str ) : string
str string
Résultat string

GetWidth() public static méthode

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

SubImgPath() public static méthode

获取大图片路径
public static SubImgPath ( string path ) : string
path string
Résultat string

UTF8ToGB2312() public static méthode

UTF8转换GB2312
public static UTF8ToGB2312 ( string str ) : string
str string
Résultat string