/ Published in: Ruby
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
values = [1, 2, 3]
# => [1, 2, 3]
s = '?' * values.size
# => "???"
csv = s.split(//).join(',')
# => "?,?,?"
Comments
 Subscribe to comments
                    Subscribe to comments
                
                