I am trying to figure out how to split a string into chunks of 25
lines or less to pass to another function

Any ideas on how I could approach this?

thanks,

Luis