[Solved] Convert Ruby Array to string with specific format [closed]


I think you can do it like this:

array = ["9999999999", "500", "existingusercheck", "MBK9002", "TestMerchant"]
"'"+array.join("''")+"'"

0

solved Convert Ruby Array to string with specific format [closed]