Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

RTrim

The RTrim function removes whitespace characters from the right side of a string. Whitespace characters include blank spaces and tabs.

You should be careful when using the RTrim function with strings that contain carriage returns (vbCr or vbCrLf). The RTrim method will not trim carriage returns.

Dim sText
sText = " Here is a sample string "
Response.Write "*" & RTrim(sText) & "*"


You should also check out the LTrim and Trim functions for more ways you can trim the whitespace from strings.

Orvado, San Diego Web Design

ASP Nuke CMS
Free Open Source
Content Manager
GoSwap Auctions
Buy, Sell
No Fees!

Contact Us | Contribute | About | Site Map



"You have not converted a man because you have silenced him." - John Morley

©2012 San Diego Web Design - Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.