Talismanic
Registered User.
- Local time
- Today, 02:55
- Joined
- May 25, 2000
- Messages
- 377
I am having some problems figuring this out. I want to remove two spaces from a string if they are present. The string is in a table that is imported from another program which won't allow me to make the changes there.
The typical string I am dealing with looks like this K345-, but the accounting department wants to break down job costs even more so they are adding letters to the end of the string starting with A. The program that they use (Unix Based) exports the number like this K345- A. I need to loop through the table and convert the job numbers with the double space and the letters down to this K345-A.
Any ideas? I can manage the loop but I am not sure how to test for the double space and then remove it.
The typical string I am dealing with looks like this K345-, but the accounting department wants to break down job costs even more so they are adding letters to the end of the string starting with A. The program that they use (Unix Based) exports the number like this K345- A. I need to loop through the table and convert the job numbers with the double space and the letters down to this K345-A.
Any ideas? I can manage the loop but I am not sure how to test for the double space and then remove it.