IsDelimiter
简述
判断字符串S的Index位置是否包含在Delimiters字符串中。
IsDelimiter(const Delimiters; S: string; Index: Integer): Boolean;
名称 | 类型 | 说明 |
---|
Delimiters | string | 字符串,源串 |
S | string | 字符串,查找字符所在串 |
Index | Integer | 整数,指定的字符位置 |
返回 | Boolean |
布尔值,1表示包含,0表示不包含 |
return IsDelimiter("tinysoft","2011 tinysoft",6);
//输出:1