Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > placing new cha...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 45768 of 45898
Post > Topic >>

placing new characters at the end of string

by "friend.blah@[EMAIL PROTECTED] " <friend.blah@[EMAIL PROTECTED] > May 6, 2008 at 01:29 AM

i have a string say

string crap = "abc:abd:aass";

at the end of my string i want to place new characters like "xx"
so the final string looks like

string crap = "abc:abd:aassxx";

how to resolve this issue...

i could able replace colons (:) with other characters but i am failing
when i wanna place new characters at the end of string.


thanks for any help




 8 Posts in Topic:
placing new characters at the end of string
"friend.blah@[EMAIL   2008-05-06 01:29:33 
Re: placing new characters at the end of string
Ian Collins <ian-news@  2008-05-06 20:32:14 
Re: placing new characters at the end of string
"friend.blah@[EMAIL   2008-05-06 01:35:05 
Re: placing new characters at the end of string
Ian Collins <ian-news@  2008-05-06 20:40:50 
Re: placing new characters at the end of string
"Andrew Koenig"  2008-05-09 03:44:10 
Re: placing new characters at the end of string
pjb@[EMAIL PROTECTED] (P  2008-05-06 10:45:22 
Re: placing new characters at the end of string
"Jim Langston"   2008-05-06 01:57:19 
Re: placing new characters at the end of string
James Kanze <james.kan  2008-05-06 03:17:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 17:09:55 CDT 2008.