I am having a problem, I have a sting and i want to remove the extra spaces from the line so that there is only one space bar key press between each word. ie
strAns = E 3 10:53 1:z1100 77 sqfp80 180 -6 -9 1800 1 qp242a-17 Missing
I would like this to be;
strAns = E 3 10:53 1:z1100 77 sqfp80 180 -6 -9 1800 1 qp242a-17 Missing
Any help is appreciated, I have tryed the replace function but cannot get the syntax right




Reply With Quote