Trim()
语法
Result$ = Trim(String$ [, Character$])概要
Removes all the specified characters located at the beginning and at the end of a string.
参数
String$ The string to trim. Character$ (optional) The character used to trim the string. The default character is 'space'. 'Character$' has to be a one character length string.
返回值
A new string holding the original string without the removed characters.
示例
Debug Trim(" Hello ") ; Will display "Hello" Debug Trim("!!Hello!!", "!") ; Will display "Hello"
参阅
LTrim(), RTrim()
已支持操作系统
所有