Frage im Vorstellungsgespräch bei A10 Networks

3. Please give a function which can find a string occurence time in another string.

Antwort im Vorstellungsgespräch

Anonym

7. Dez. 2016

function times(str, substr){ return str.split(substr).length - 1; }