Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Wie kann ich die Anzahl der leerzeichen in einem string ermitteln?
if (string[i] == ' ') anzahl_leer++;
funktioniert leider nicht
Wieso soll das nicht funktionieren?
sry, funktioniert doch, hatte den fehler woanderst