子字串从指定的字元位置开始。
如果找不到子字串,则传回- 1。
传回格式化字串的子字串。
传回从指定位置起始且具有指定长度的子字串。
Returns a substring beginning at a specified location and having a specified length.
传回格式化字串的子字串,选择性包含提示、常值和密码字元。
Returns a substring of the formatted string, optionally including prompt, literal, and password characters.
在规则运算式比对所定义的位置,将输入字串分割成子字串阵列。
Splits an input string into an array of substrings at the positions defined by a regular expression match.
您可以使用规则运算式来搜寻字串中的模式、取代文字,以及撷取子字串。
You can use regular expressions to search for patterns in a string, replace text, and extract substrings.
搜寻指定的子字串,并传回来源字串内第一个相符项目的以零起始的索引。
Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string.
将这个执行个体的子字串内所有出现的指定字元,取代为另一个指定的字元。
Replaces, within a substring of this instance, all occurrences of a specified character with another specified character.
在指定的输入子字串内,使用指定的取代字串来取代符合规则运算式模式的指定最大字串数目。
Within a specified input substring, replaces a specified maximum number of strings that match a regular expression pattern with a specified replacement string.
这个型别转换子只能将32 位元带正负号的整数物件与字串相互转换。
This type converter only can convert a 32-bit signed integer object to and from a string.
这个型别转换子只能将32 位元带正负号的整数物件与字串相互转换。
This type converter only can convert a 32-bit signed integer object to and from a string.
应用推荐