I have an array with multiple entries. Some of these contain @ at the beginning. That's an example of an array:  
some string  
@another string  
@one more string  
the best string  
string with email@mail.com
For validation and grouping I use this part of code (it checked only @ for now)
  if(linesArray[i] ===  '@'){
    $('#test').append('<li class="string_with_at">'+linesArray[i]+'</li>');
  }else{
    $('#test').append('<li class="string_no_at">'+linesArray[i]+'</li>');
  }
My questions are:
- How can I check the @in line start for first group?
- How can I remove this symbol from result ('li'+linesArray+'/li') - a may to leave only class to understand that it was an @
 
     
     
     
    