HOW TO ADD TRAILING SPACES TO A STRING
I have a file that expects a fixed number of characters for every field. If the input characters are less than expected, trailing spaces are to be added at the end to meet the expected count.
Example, Field size: 30.
Input: This is a test statement. (char count: 25).
I have to add 30-25= 5 spaces at the end. How can I do it through Tosca? I need to know which command/sendkeys can be used for padding those extra spaces to my input string.
Thanks in advance.