-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P4
-
None
-
Affects Version/s: 17, 21, 24
-
Component/s: core-libs
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
String str = " foo bar \n";
System.out.println(str.stripIndent());
As user's expectation from the method name, the blank in the string head should be removed, like this
"foo bar \n"
but the actual result is:
" foo bar \n"
the blank in the str head is not removed.
String str = " foo bar \n";
System.out.println(str.stripIndent());
As user's expectation from the method name, the blank in the string head should be removed, like this
"foo bar \n"
but the actual result is:
" foo bar \n"
the blank in the str head is not removed.