编辑字符串内容

The following functions edit, format, and align the contents of strings. Use the & or + operators to concatenate strings.

Format 函数

Converts a numeric expression to a string, and then formats it according to the format that you specify.

LCase 函数

将字符串中的所有大写字母转换成小写字母。

Left 函数

返回指定字符串表达式中的前若干个字符。

LSet 语句

将某个字符串变量中的字符串左对齐,或者将自定义类型的变量复制到其他自定义的类型变量。

LTrim 函数

删除字符串表达式起始部分的所有前置空格。

Mid Function

Returns the specified portion of a string expression (Mid function), or replaces the portion of a string expression with another string (Mid subroutine).

Replace 函数

将某个字符串替换为其他字符串。

Right 函数

返回字符串表达式最右边的 n 个字符。

RSet 语句

右对齐字符串变量中的字符串,或将自定义变量类型复制为其他变量。

RTrim 函数

删除字符串表达式结尾处的空格。

Trim 函数

删除字符串表达式中所有的前置空格和后置空格。

UCase 函数

将字符串中的小写字符转换成大写字符。

Split 函数

从字符串表达式返回一个子字符串数组。

Join 函数

将字符串数组中的多个子字符串组合成一个字符串。

ConvertToURL 函数

将系统文件名称转换成文件 URL。

ConvertFromURL 函数

将文件 URL 转换成系统文件名称。

请支持我们!