I have an ASP .NET 2.0 page that reads tags in from files. These tags are read as an absolute length (like take everything from byte 0 to 29). The problem is that when the info in the tags is less than the length read in, the code replaces it will null characters. Then, when I store the data in SQL Server it stores the null characters with it. Strangely, if I open a record in SQL Server to edit it, it ignore the null characters, so I can't remove them. When the data is then pulled from SQL Server in Firefox or Safari, the null characters show up as ???????. IE7 doesn't do this. So, my question is, does anyone know how I can strip off the null characters from the string before I even store the data in SQL Server? Thanks!