guys i have a string and i am unable to split it and display it indivisually so can you pls help out

guys i have a string and i am unable to split it and display it indivisually so can you pls help out

var  a_href=" ";
  $(document).ready(function() {
 
  var table = $('#contacttable').DataTable();
 
$('#contacttable tbody').on( 'click', 'tr', function () {
        if ( $(this).hasClass('selected') ) 
        { 
       
        }
        else {
            table .$('tr.selected').removeClass('selected');
            $(this).addClass('selected');
            a_href = $(table.row(this).data());
            message(table.row(this).data());
        
        
}
} );
 } );  



I want to break that a_href variable into array