javascript_howto thread: count fuction
Good that it works for you! 3D is something that is added by the mail server, it's not in my code... /Robert -----Original Message----- From: netdur [mailto:netdur@y...] Sent: den 30 januari 2003 14:25 To: JavaScript HowTo Subject: [javascript_howto] RE: count fuction Thank you Robert, I had to remove '3D'... your code is working now, Thank you <script language=3D'javascript'> var strSomething =3D 'Aoaaoaao'; document.write(strSomething.match(/o/g).length); // result 3 </script>
|





