Hi All
I have a string as below.
INVITE\r\n
Content-Length:\r\n
\r\n
v=0\r\n
I want to change it to as below
INVITE\r\n
Content-Length: 3\r\n
\r\n
v=0\r\n
You can see in line starts with Content-Length, I have added 5 at the end because after empty line I have only 5 characters (that is
v=0\r\n)
I am looking for what is the best way to do that.