""pepe""
Y quiero transformarlo en "pepe"
He usado replace:
Código:
Y replaceAll
PrimitiveValue texto = (PrimitiveValue) fv.getFactSlot("pregunta");
theText = texto.toString();
theText.replace((char)34, (char)0);
Código:
Y en ambos casos la operación falla evidentemente no se como hacerlo.
PrimitiveValue texto = (PrimitiveValue) fv.getFactSlot("pregunta");
theText = texto.toString();
theText.replaceAll("""", "");
Gracias de antemano



Este tema le ha gustado a 1 personas