you can also use split function... split it with "div"
On Thu, Dec 25, 2008 at 9:07 PM, Subrato Mukherjee < [email protected]> wrote: > You could do a find and replace of specific strings. You could replace > <div> & </div> with empty space. That should remove all the tags you dont > need from the string > > On Thu, Dec 25, 2008 at 8:07 AM, Rookie <[email protected]> wrote: > >> Hi Everybody, >> >> Can anyone tell me, any method in .net that will return inner string value >> from the following string value. >> >> string sBody = listitem["Body"].ToString(); >> sBody="<div>This is original string value.</div>"; >> >> I need to get the string between 'div' tags. >> >> Thanks & Regards >> Bixam. >> >> > -- Muhammad Arif Software Engineer +923009347315
