handling strings

X

xavier

I am pulling a string into a buffer but at the end of the
string there is a return character. I would like to be
able to handel this and take the character out with code.
Can anyone help me in doing this? Thank You.

Xavier
 
K

Kelvin

If there is always a return character, the easiest would be to use the Left
function.

sText = left(sText,len(stext)-1)

Kelvin Lu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top