I would like to know how to format a String 08041995 on 04/08/1995 using the format () method in Java
PrintStream ps = new PrintStream(arq);
String valor = "250,35";
ps.format("R$ "+"%s", valor);
ps.flush();
I was able to insert a String (R $) at the beginning of the String (value), but insert elements from a String, like the bars ... I do not know.
How to do it? Thanks!