How to remove the two duplicate values

Question

How to remove the two duplicate values

Example I have the variable 1 $help_brother:

$help_brother="30,45,12,13,14,15";

And the variable 2 Force World:

$force_world = '45,12,15';

The result must be:

Result: '30,13,14';

Any help is welcome. Thanks in advance.

0
Mano World 2 years 2022-05-01T06:05:13-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse