回 帖 发 新 帖 刷新版面

主题:请教SubString

请教SubString(int,int)两个参数分别代表什么意思?

回复列表 (共2个回复)

沙发

VC:
public String substring( int beginIndex, int endIndex )
Parameters:
beginIndex:the beginning index, inclusive.
endIndex:the ending index, exclusive.
Returns:the specified substring.

BCB:SubString(int index, int count),
index:the start position,
count:the substring length.

板凳

有时间多看一下VC的帮助文档吧,没有哪一个人一开始就会的。

我来回复

您尚未登录,请登录后再回复。点此登录或注册