Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Fidel
Beginner


Joined: 07 Oct 2009
Posts: 19
Location: Poland

PostPosted: Wed Oct 14, 2009 7:45 am   

Removing end-of-line characters from string end
 
Hi,
I'm using COM objects to access MS Access database. I get RecordSet using SQL Select statement and then using GetString on it, the returned string has end-of-line character in the end. What is the best way to remove it? %trim and %trimright removes only spaces. Do I have to use %delete/%replace/%replace on string? Or is there a better way to do that?

Thanks,
Pawel
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Oct 14, 2009 11:23 am   
 
I would say that %leftback is the easiest one to use.
_________________
Asati di tempari!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net