Querying carriage return fields
ASP.NET
2
Posts
2
Posters
1
Views
1
Watching
-
Hi I have a field which has a carriage return in it. because of this it wont search this field properly and will not display any matching results. How do you deal with carriage return fields so that I can query them? thanks
Filter out those carriage return (\r). You can either go with a regular expression or make your own string replace function. e.g. string filteredstring = rawstring.Replace("\r", string.Empty); Hope this helps. :)
Niladri Biswas