1
zegarr
6y

I have a function that receives 2 parameters: a string and a max numer of characters.
It returns an array with the partitioned string.
Example:
function name("hi, I love devRant", 10);

//return:

array(2){
[0] ->"hi, I love"
[1] ->" devRant"
}

Now.... what would be the appropriate name for that function?

Comments
Add Comment