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

[ad_1]

I think you can do it like this:

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

0

[ad_2]

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