P5.js split() questions

Hello guys, I’m new here. I was wondering if it was possible to get the split function in p5.js to just split the letters of a word without the delim value. Answers as to how I would do this would also be very helpful.

thanks in advance.

1 Like
abcd = 'abcd';
chars = abcd.split('');
console.log(chars);

p5js.org/reference/#/p5/split

1 Like