I want to take a part of a string, specifically numbers next to the letter, such as:
$string = "Parte da string - 60h"
Well, I use str_replace as follows:
$string = str_replace(' - ', '', $string);
$string = str_replace('[ˆ0-99]h', '', $s...
asked by
13.04.2018 / 20:50