I'd like to point out that this question seems straightforward but actually touches on an important issue.
Consider what happens if s1 is defined like this:
Code: Select all
String s1 = """
a \
b \t
c \s
efg""";
Code: Select all
String s1 = """
a \
b \t
c \s
efg
""";