Name
RTrim Function
Class
Microsoft.VisualBasic.Strings
Syntax
RTrim(string
)
-
string
Use: Required
Data Type: String
A valid string expression
Return Value
String
Description
Removes any trailing spaces from string
Rules at a Glance
If string
contains a
Nothing
, RTrim
returns
Nothing
.
See Also
Get VB .NET Language in a Nutshell 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.