Olá,
Estou tentando substituir as barras “/” por “” utilizando o replaceAll e não estou conseguindo.
Alguém poderia me ajudar ?
Exemplo:
VPC_nome_foto = “C:\TESTE\foto.jpg”;
VPC_nome_foto = VPC_nome_foto.replaceAll("\", “/”);
Olá,
Estou tentando substituir as barras “/” por “” utilizando o replaceAll e não estou conseguindo.
Alguém poderia me ajudar ?
Exemplo:
VPC_nome_foto = “C:\TESTE\foto.jpg”;
VPC_nome_foto = VPC_nome_foto.replaceAll("\", “/”);
Já achei a reposta.
Tenho que colocar:
VPC_nome_foto = VPC_nome_foto.replaceAll("\\", “/”);
Muito obrigado a todos…