Break up word into array php

how to convert word into array in php?
Ankur Rajput
Asked 18-11-2024
179

Answer (1)
use this split function in php to convert word into array. str_split("cool", 1); here 1 means break each word. Result : Array ( [0] => c [1] => o [2] => o [3] => l )
Deepak Sharma
Asked 22-07-2018
45 Likes
Comments
Write comment

Submit your answer