Re: Padright
- From: Mark Peters <mpeters42@xxxxxxxxx>
- Date: Thu, 02 Aug 2007 20:05:37 -0000
""NAME","SYSTEM_ID","TAX_ID","LICENSE"";
the Above is one row read in from a text file
its 38 bytes in width i want to pad this to 77
in my code padright is not working correctly unless i string.trimend() the
above row
example
I was able to reproduce the problem in your code with the following
line:
sRow = "\"NAME\",\"SYSTEM_ID\",\"TAX_ID\",\"LICENSE\" \r";
Perhaps you are getting a Carriage Return (\r) and spaces at the end
of your line.
How are you reading in the line from the file?
.
- Follow-Ups:
- Re: Padright
- From: MikeJ
- Re: Padright
- References:
- Padright
- From: MikeJ
- Padright
- Prev by Date: Re: Trim a multiple line message to a single line
- Next by Date: Where to get standard toolbar icons?
- Previous by thread: Padright
- Next by thread: Re: Padright
- Index(es):
Relevant Pages
|