How to Replace return white space in a string with
-
-
Hi All! I am reading a data from the database the string read is then passed to javascript function. This data(string) may contain a return white space i want to replace this return character with a <br> tag. Is there any Method to do this
Regards
return and whitespace are two different things. The Replace function on the string class will let you change instances of Environment.NewLine, or whatever, to break tags, or anything else you'd like
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
return and whitespace are two different things. The Replace function on the string class will let you change instances of Environment.NewLine, or whatever, to break tags, or anything else you'd like
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )