Taking a look at indexOf() and lastIndexOf(). JavaScript Tutorial 3:58 | A processar vídeo... A Carregar... Transferir