Working with Strings
Finally, this will come in handy for the homework for Loops – the str_split function will convert a string to an array. The basic syntax is: $array1 = str_split(StringToConvert, LengthOfSegment); If you leave LengthofSegment empty -the default is 1 character. But you can change that if you want it to divide the string by 2…
Read More