assemble Separated Params List

open fun <T> assembleSeparatedParamsList(starterSeparator: String, enderSeparator: String, params: ArrayList<T>): String
fun <T> assembleSeparatedParamsList(starterSeparator: String, enderSeparator: String, params: Array<T>): String

Method to concatenate a list of params

Return

list of params as String e.g. ,"value","value2",value3"

Parameters

starterSeparator

: initial char to divide items of the list

enderSeparator

: final char to divide items of the list

params

: values of the list to concatenate

Throws

when one of the params inserted does not respect correct range