For example, there is a line:
word1 word2 word3 ...
words will separate the spaces, how to convert this string to this form:
word1 word2 word3 ...
For example, there is a line:
word1 word2 word3 ...
words will separate the spaces, how to convert this string to this form:
word1 word2 word3 ...
$array = explode(' ', trim($str)); Source: https://ru.stackoverflow.com/questions/68524/
All Articles