C# 클래스 SubStrings, zcw

SubString 的摘要说明
파일 보기 프로젝트 열기: jerrytan/zcw 1 사용 예제들

공개 메소드들

메소드 설명
GB2312ToUTF8 ( string str ) : string

GB2312转换UTF8

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

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

SubImgPath ( string path ) : string

获取大图片路径

UTF8ToGB2312 ( string str ) : string

UTF8转换GB2312

메소드 상세

GB2312ToUTF8() 공개 정적인 메소드

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

GetWidth() 공개 정적인 메소드

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

SubImgPath() 공개 정적인 메소드

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

UTF8ToGB2312() 공개 정적인 메소드

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