This example shows how to split string and do for…each in Python:
>>> rawTags = 'TAG1 TAG2 TAG3 TAGB1 TAGB2' >>> tags = rawTags.split() >>> tags ['TAG1', 'TAG2', 'TAG3', 'TAGB1', 'TAGB2'] >>> output = '' >>> for tag in tags: ... output += '"' + tag + '",' >>> output '"TAG1","TAG2","TAG3","TAGB1","TAGB2",'
Haskell helloworld <->
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.