Answer the question
In order to leave comments, you need to log in
How to optimize Java code when working with strings?
Good afternoon, there is a code that parses the log and normalizes it.
for (String a : rawToMassive) {
if (a.contains("Var1:")) {
a = a.replace("^Var1:", condition + ",");
a = a + System.lineSeparator();
out.append(a);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question