replace a part of character buffer....!

transfernly's Avatar, Join Date: Dec 2009
Go4Expert Member
hi all....i have small problem with replacement of part of a character array.....

my problem is i have character buffer

buff[]

the content in it is


"DESCRIBE rtsp://<ip-addr>:9000/2.sdp RTSP/1.0

CSeq: 1


Bandwidth: 384000

Accept-Language: en-US

User-Agent:Windows NT 5.1Service Pack 2)"

now here i want to replace "9000" with the number i wish....how can i do it...

please help me out.....
thank you....
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Think of it as three strings: "DESCRIBE rtsp://<ip-addr>:", "9000", "/2.sdp RTSP/1.0..."