我有一个以下格式的文本字符串$ str ="word1 word2 word3 word4"
所以我想从字符串中分离每个单词.两个单词由空格分隔.我该怎么做.有没有内置功能来做到这一点?
php string
php ×1
string ×1