0

I have generated a csv file using SQR and output commes as left align by default for string. I need to make it right align. Please suggest.

For example:

address xxx yyy zzz

i need

address xxx yyy zzz

code used to write CSV is

write $address

Please assist on this.

user2862073
  • 234
  • 3
  • 6
  • 18
  • I don't quite understand the right-align part - you mean left blank fill? If so, you could use the RPAD function to right align it. However, if you mean right-aligning in the CSV file when you open it up, you're out of luck because Excel will pretty much left justify it and all the blanks will be squashed. Exactly why do you need it right-aligned? – cardmagik Mar 20 '15 at 17:06
  • Your example matches your statement of what you need. I would love to help but I don't understand what you are looking for. – Bob Mar 28 '15 at 02:41

0 Answers0