How to enter unlimited parameters info a function

Hi!
I’d like to know if there is a way to insert unlimited number of parameters into a custom function.

I want to replicate things like:
println(i1,i2,i3,i4,i5,...);
The way I do it right now is by doing:

void aaa(String info)  {
   String parameters[] = split(info,",");
   //and use parameters by using parameters[i]
}

Is there a way to replicate it?

Not too knowledgeable on this though sorry.

See also

1 Like

here is my result! (An example with possible input a(); a(singleParameter); a(1st,2nd,…); a(“aaa”,“hello”,13,-33.44,true);
image image

1 Like