Friday, February 22, 2013

Refactoring of plus sign of huge string concatenations

2 Find/Replace for huge build in SQL string with "+" at the end of the line - to do it in 5 seconds.

"\+$" --> ""
"\t"" --> "\t+ ""

from:
value = "string1 " +
"string2 ";

to:
value = "string1 "
+ "string2 ";



No comments:

Post a Comment