I am using SyncSort to format a file. My requirement is to add RIGHT padding (trailing spaces to a field). Can you please suggest how to do this?
For Example:-
Value :- "15" ---> Output:- "15 "
Value :- "150" --> Output:- "150 "
I am using SyncSort to format a file. My requirement is to add RIGHT padding (trailing spaces to a field). Can you please suggest how to do this?
For Example:-
Value :- "15" ---> Output:- "15 "
Value :- "150" --> Output:- "150 "
Copyright © 2021 Jogjafile Inc.
You question does not really make sense in isolation. Either this is a small part of a larger task, and so may not suit, or you have a VB file with no trailing blanks. Or something else.
Unless you have a simple VB with just one field, in which case this code will work, please add what you have tried and what output it gave you.