For example: Array like ["A12", 1, 2, "Test"].
My expected result should be able to bind in the textfield or else to get as string with component seperator (,)
It's not clear what the expected output is: an array of strings, or a string. Can you clarify this in the question? Maybe give an example of how your output should look?
joinWithSeparator(",")it should return a string like "A12,1,2,Test"