Hi,
möchte den Inhalt einer Textarea darauf prüfen, ob eine bestimmte Zeichenfolge "[-]" genau ein mal vorkommt. Bei null oder mehr als ein mal soll er meckern. welche Methode brauche ich dafür?
String.indexOf und String.lastIndexOf.
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]