my sample data looks like below: I am trying to split the text in column “Vendor” and move the vendor name into a separate column as shown below: The problem is it is not just one space that separates these two texts . it is dynamic.
I am using the code below and it is working only for some and not for others. Could anyone help please
i followed until you split the name and stored it in the variable ‘vendor’. this works for the message box to display the trimmed string. But how do i copy it to the database column.
I am getting the error when i try to copy the value of the variable ‘Vendor’ to a data column. any ideas?
this worked like a charm. even though the vendor code is not always 6 characters long, it still works. If the vendor code is less than 6 characters, it will leave some spaces after the code and i am ok with that.