Re: rtrim not working.................. -_-



sorry, i just checked the asc value and found out after right-trimming,
the value is asc 13 which is vbcr.

is there a best way to right-trim a character such as vbcr, ie. asc 13?

daimler_tired........

"Daimler" <daimler_6@xxxxxxxxxxxx> wrote in message
news:el1bpn$r70$1@xxxxxxxxxxxxxxxxxxxxxxxxxx
weird thing: -

m = Space(100000)

Get #filenum2, 1, m

Close filenum2

mm = RTrim(m)

why does the above variable, ie. mm does not get right-trimmed of the
spaces defined in the above space(100000)?

please help! -_-

daimler_cant think........










.



Relevant Pages

  • Re: rtrim not working.................. -_-
    ... the value is asc 13 which is vbcr. ... if you mean that you want to trim after the first vbCR then ... Close filenum2 ...
    (microsoft.public.vb.database)
  • Re: rtrim not working.................. -_-
    ... the value is asc 13 which is vbcr. ... Close filenum2 ... so that you can search the string for the first Null character afterwards ...
    (microsoft.public.vb.database)
  • Re: editing docvariable fields
    ... Very strange indeed, especially as vbcr *is* chr. ... the ASC() function. ... As for the empty string, I checked it -- perhaps it's ...
    (microsoft.public.word.vba.userforms)

Loading