ClassMicrosoft.VisualBasic.Strings SyntaxDim result As String = Trim(str)
DescriptionThe trim function removes both leading and trailing spaces from str. Usage at a Glance
Version DifferencesIn VB 6, the function's single named argument is string. In .NET, its single named argument is str. See AlsoLTrim Function, RTrim Function |