Hallo Marc,
Ich bin ziemlich sicher, dass replace 'g' fuer global unterstuetzt, probiers mal aus.
var jetzt = vormals.replace(/Hinz/g,"Kunz, geb. Hinz");
^
Dieter
Hallo Marc,
Ich bin ziemlich sicher, dass replace 'g' fuer global unterstuetzt, probiers mal aus.
var jetzt = vormals.replace(/Hinz/g,"Kunz, geb. Hinz");
^
Dieter