Answers for "php convet array + trime"

PHP
0

trim elements of array php

$arr = array( " John ", "Jacob ", " Tom ", " Tim ");
$result = array_map('trim', $arr)
Posted by: Guest on June-13-2020

Browse Popular Code Answers by Language