This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Find a name on strings using array, for loops, substr | |
*/ | |
text = "Blah blah blah blah blah blah Eric \ | |
blah blah blah Eric blah blah Eric blah blah \ | |
blah blah blah blah blah Eric"; | |
var myName = "blah"; | |
var hits = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?skin=sunburst"></script> |
NewerOlder