|
-
Sep 24th, 2002, 02:04 PM
#1
Thread Starter
Addicted Member
Parsing string- insert characters
I have a string as follows:
041204350431002D043004340440
What I would like to do is after every 4 characters, insert some characters. At the beginning I want a < and at the end a >. I am getting close but I always get:
0412--0435--0431--002D--0430--0434--0440--
This has to be simple and it may just be one of those days, but does anyone have a quick answer? I just can't figure out how not to add it to the end and instead add the >
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|