Taking a look at indexOf() and lastIndexOf(). JavaScript Tutorial 3:58 | Procesando video... Cargando... Descargar