use .Find to get the position of the underscore
then use the .Right and .Left functions with the position of the underscore to break the string up
then use .Format to recombine the fragments in the order you want
"If it could have gone wrong earlier and it didn't, it ultimately would have been beneficial for it to have." : Murphy's Ultimate Corollary
If you want to go with ansi c functions you can use strtok function that will basically split your string, then just using the printf or sprintf you can switch places.
However snuv's will work better for most functionallity.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.