J
Jim Heavey
In the Regular Expression, I can use \n for Line Feed, \t for a tab and \r
for carriage return. Am I able to use thos same expressions in a "Replace
method" of the string object? such as
NewDescrp = NewDescrp.Replace('\n', ' '); //replace Line feed with space
NewDescrp = NewDescrp.Replace('\t', ' '); //replace vertical tab with
space
NewDescrp = NewDescrp.Replace('\r', ' '); //replace Carriage return with a
space
The ASCII values are something like 10, 11 and 13. How would I specify the
numbers rather then these escape sequence values?
Thanks
for carriage return. Am I able to use thos same expressions in a "Replace
method" of the string object? such as
NewDescrp = NewDescrp.Replace('\n', ' '); //replace Line feed with space
NewDescrp = NewDescrp.Replace('\t', ' '); //replace vertical tab with
space
NewDescrp = NewDescrp.Replace('\r', ' '); //replace Carriage return with a
space
The ASCII values are something like 10, 11 and 13. How would I specify the
numbers rather then these escape sequence values?
Thanks