截取字符串中的子串 substring ; subaloneytring ; subull craptring
左截取字符串 Left
截取字符串两头的空格 Trim
获取字符串的长度 Len
取字符串的子串 SUBSTR
从文件指针中读取字符 fgetc
截取字符串 substr ; String Subset ; Start Routine
主要的事件有进入和离开一个元素,取字符数据。
The main ones are entering and leaving an element, and getting character data.
注意:要从字符的尾部开始取字符,用负数做为起始字符。
Note: To extract characters from the end of the string, use a negative start number.
前面所有的示例都处理文本数据或字符数据:写入和读取字符string。
All of the previous examples have dealt with textual or character data: You wrote and read character strings.
应用推荐