@TRIM 删除前导或尾随的空格。
DTP 类型:
可以为一个成员、多个成员、字符串或密码类型的 DTP 分配 @TRIM。
语法:
@TRIM(String)
参数:
| 参数 | 说明 |
|---|---|
String |
设计时提示或文本 |
示例:
[TRIM_ST]=@TRIM([String1])
其中:
[TRIM_ST] 是字符串类型的 DTP,不是检查的提示。
[String1] 是字符串类型的 DTP,是检查的提示。
假设该参数如下所示:
String:"This is a test of leading and trailing spaces"
参数在文本前后有空格。它显示为:
String1 = this is a test of leading and trailing spaces