Below is the variable I have,
$string = 'AAA,BBB,aAA,BbB,AAA,BbB';
I need the unique string result below,
$string = 'AAA,BBB,aAA,BbB';
How to make it unique just like array_unique()
function , is there any default String function to remove duplicate string in PHP?