copy string one place to another

Posted by gcc on Stack Overflow See other posts from Stack Overflow or by gcc
Published on 2010-05-19T11:52:02Z Indexed on 2010/05/19 12:20 UTC
Read the original article Hit count: 129

Filed under:
    how can i copy part of the specific  string to the another place 

example (aaa),(ddd),(fff),(fff),#p

copy (ddd) to the side of the p (aaa),(fff),(fff),#p,(ddd) //before copyin add comma

copy (fff) to side of the (ddd)       

(aaa),(fff),#p,(ddd),(fff) //string lenght always same

© Stack Overflow or respective owner

Related posts about c