if you want to do it in SQL, check out 'substring':
http://doc.ddart.net/mssql/sql70/setu-sus_17.htm
when presenting the data on the page, are you using a Gridview/DataSource
control, or creating the code- then databinding, or .....?

Signature
David Wier
MVP/ASPInsider
http://aspnet101.com
http://iWritePro.com
> Hi,
>
[quoted text clipped - 7 lines]
> from tbtickets tck inner join tbticketsmessages tckmsg
> on tck.ticketid = tckmsg.ticketid and tcktstatusId = 1
bbawa1@yahoo.com - 20 Jun 2007 21:20 GMT
> if you want to do it in SQL, check out 'substring':http://doc.ddart.net/mssql/sql70/setu-sus_17.htm
>
[quoted text clipped - 22 lines]
>
> - Show quoted text -
I am using GridView datasource.