sanders720
Programmer
xCompOccurrence.Name = "36570-0101:2XXX"
CompStr = Microsoft.VisualBasic.Left(xCompOccurrence.Name, chp - 1) + (Microsoft.VisualBasic.Right(Str(Q), Len(Q - 1))) + Microsoft.VisualBasic.Right(xCompOccurrence.Name, Len(xCompOccurrence.Name) - chp)
CompStr = "36570-0101: 2XXX"
I am trying to manipulate this data. These variables are being created for comparitive purposes.
About here: + (Microsoft.VisualBasic.Right(Str(Q), Len(Q - 1))) +
A speca is being added. You can see the space after the :. I've tried a few things at the string creation to elliminate the first space after the string conversion without any luck.
Any help with this would be greatly appreciated.