I am trying to concatenate two strings with a space in between as follows:
if(searchSymbol.toLowerCase().contains(mSearchView.getText().toString().toLowerCase()) + "HERE COMES THE SPACE" +searchSymbol.toLowerCase().contains(mSearchView.getText().toString().toLowerCase()) )
{}
I am just not sure how to define the same? should I use (1st string&&+""&&""+ 2nd string). Any help appreciated.
Thanks! Justin