handling strings

  • Thread starter Thread starter xavier
  • Start date Start date
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
 
If there is always a return character, the easiest would be to use the Left
function.

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

Kelvin Lu
 
Back
Top