1
I’m trying to make a word filter in a string, to store in a variable.
Grammatically, they are called prepositions, circumpositions and postpositions.
They are used in binding elements of a sentence.
EX:
$string = "o rato roeu a roupa do rei de roma"
//aqui a função armazenando as palavras filtradas, que eu acredito que seja um array
$novoValor = "rato roeu roupa rei roma;
echo $novovalor;
It’s to remove which words?
– rray
The words that link, for example: "from, in, and, a, ", among others less important, but which I will complete with time.
– Cobra