My question is quite simple, how do I exclude repeated values from array
, for example:
array = banana,morango,laranja,banana,maca
How do I delete 1x banana so that array
stays:
array = banana,morango,laranja,maca
And finally, I would like to know which function counts the number of values that have a array
?