余分なスペースを削除したテキスト
指定した値の先頭と末尾のスペースを削除し、内部の複数スペースを削除して単一スペースにして返します。
使用例
TRIM(" Hi there!")
: Hi there!
TRIM("Hi there! ")
: Hi there!
TRIM("Hi there!")
: Hi there!
構文
TRIM(値)
値
- 任意の型の値。
指定した値の先頭と末尾のスペースを削除し、内部の複数スペースを削除して単一スペースにして返します。
TRIM(" Hi there!")
: Hi there!
TRIM("Hi there! ")
: Hi there!
TRIM("Hi there!")
: Hi there!
TRIM(値)
値
- 任意の型の値。