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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trim Variable String

Status
Not open for further replies.

wesleycrusher

Technical User
Sep 30, 2003
61
US
I apologize for hoggin resources today. How would I trim a declared strin variable so that when printed it looks like "1,2,5,6" instead of "1,2,5,6,"?

Please see my previous post today for details as to why.
 
In your display formula you can do this:

stringVar TheChoices;

If Length(TheChoices) > 0 then
Left(TheChoices, Length(TheChoices)-1)

~Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top