I need to trim the last 4 characters off a string that is not consistent in length.
Ex: PG 02466 - 0 needs to be PG 02466
03300 - 1 needs to be 03300
03 30 00 - 0 needs to be 03 03 00
The last 4 characters will always be ' - #'
Any ideas?
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |