Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8"/>
<title>Ubicación</title>
   <script type="text/javascript">
      function localizar(){
        var str ="bineet kumar, test, asdfasdf";
        str1 = str.split(",");
        alert( str1 );
      }
    </script>
 
</head>
<body>
  <button Click="localizar();">Split</button>
</body>
</html>
 
aceite corporal con mentac dscsd 
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers