Remove the array indexing from a parameter name
withoutIndex(name)
name
a parameter name
the name without the square bracket parameter indexing
withoutIndex("foo[1,2]")