TRIM

Gỡ bỏ các dấu cách khỏi một chuỗi, để lại chỉ một dấu cách riêng lẻ giữa mỗi cặp từ.

Cú pháp

TRIM("Chuỗi")

Text refers to text in which spaces are to be removed.

Ví dụ

=TRIM(" hello world ") returns hello world without leading and trailing spaces and with single space between words.

Please support us!