Name

Trim Function — Microsoft.VisualBasic.Strings

Synopsis

Trim(str)
str required; String

Any string expression

Return Value

String

Description

Removes both leading and trailing spaces from a given string.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.