Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing all spaces after the END of a specified string.

Status
Not open for further replies.

THEGREEK

Technical User
Aug 17, 2000
51
CA
Hi,

I was wondering if anyone knew an approach I could take regarding the above or maybe if there's a function I can use already that I'm not aware about...any help would be greatly appreciated

Here is an example of what i would like it do:

String Before: Manulife Financial[space][space][space]...
String After: Manulife Financial(leave any spaces in tact if they don't fall at the end of a string.)
 
Use the Trim function. Ltrim to trim leading spaces, Rtrim to trim trailing spaces, and Trim for both.
alley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top