K
K
khodos_dmitry2018-03-04 10:27:28
PHP
khodos_dmitry, 2018-03-04 10:27:28

Is it possible to apply trim($str, ',') to an array_map?

It is clear that foreach can be used.
With such a notation trim($str, ',') will only commas be trimmed, or also whitespace characters?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2018-03-04
@VladimirAndreev

trim(trim($str,","))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question