Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: count fuction


Message #1 by "netdur" <netdur@y...> on Wed, 29 Jan 2003 22:36:05
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>

  Return to Index