{"action":"created","issue":{"url":"https://api.github.com/repos/witheve/docs/issues/22","repository_url":"https://api.github.com/repos/witheve/docs","labels_url":"https://api.github.com/repos/witheve/docs/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/witheve/docs/issues/22/comments","events_url":"https://api.github.com/repos/witheve/docs/issues/22/events","html_url":"https://github.com/witheve/docs/issues/22","id":187029813,"number":22,"title":"Rename join to concat","user":{"login":"beilharz","id":106003,"avatar_url":"https://avatars.githubusercontent.com/u/106003?v=3","gravatar_id":"","url":"https://api.github.com/users/beilharz","html_url":"https://github.com/beilharz","followers_url":"https://api.github.com/users/beilharz/followers","following_url":"https://api.github.com/users/beilharz/following{/other_user}","gists_url":"https://api.github.com/users/beilharz/gists{/gist_id}","starred_url":"https://api.github.com/users/beilharz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beilharz/subscriptions","organizations_url":"https://api.github.com/users/beilharz/orgs","repos_url":"https://api.github.com/users/beilharz/repos","events_url":"https://api.github.com/users/beilharz/events{/privacy}","received_events_url":"https://api.github.com/users/beilharz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-03T11:04:04Z","updated_at":"2016-11-09T22:50:31Z","closed_at":"2016-11-09T22:50:31Z","body":"It seems \"join\" was renamed to \"concat\" at one point, that should be reflected in the docs. \r\n\r\nI don't understand how concat is meant to work, any attempts i did only result in builder complaining that it can't find the AttributeMapping (because there isn't any defined in string.ts). \r\nCan concat actually be used in it's current state? "},"comment":{"url":"https://api.github.com/repos/witheve/docs/issues/comments/259549653","html_url":"https://github.com/witheve/docs/issues/22#issuecomment-259549653","issue_url":"https://api.github.com/repos/witheve/docs/issues/22","id":259549653,"user":{"login":"cmontella","id":10619266,"avatar_url":"https://avatars.githubusercontent.com/u/10619266?v=3","gravatar_id":"","url":"https://api.github.com/users/cmontella","html_url":"https://github.com/cmontella","followers_url":"https://api.github.com/users/cmontella/followers","following_url":"https://api.github.com/users/cmontella/following{/other_user}","gists_url":"https://api.github.com/users/cmontella/gists{/gist_id}","starred_url":"https://api.github.com/users/cmontella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmontella/subscriptions","organizations_url":"https://api.github.com/users/cmontella/orgs","repos_url":"https://api.github.com/users/cmontella/repos","events_url":"https://api.github.com/users/cmontella/events{/privacy}","received_events_url":"https://api.github.com/users/cmontella/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T22:50:31Z","updated_at":"2016-11-09T22:50:31Z","body":"Join actually serves a different purpose from concat, and actually isn't implemented in this runtime (although maybe I'll do that shortly)\r\n\r\nThe purpose of join in this context is more like: http://www.w3schools.com/jsref/jsref_join.asp\r\n\r\nYou take an set of strings, an ordering of those elements, and then combine them into a single string, separated by some delimiter.\r\n\r\nfor example if  token = (\"A\",\"B\",\"C\",\"D\") and index = (1,3,2,4) and with = \"--\" then `join[token, index, with]` would produce \"A--C--B--D\"\r\n\r\nThe reason you can't use concat is because you're not meant to use it with the string interpolation operator `{{}}`. You can embed any value in a string with this operator:\r\n\r\n```\r\nsearch\r\n  [name]\r\n\r\nbind @browser\r\n  [#div text: \"Welcome, {{name}}!\"]\r\n```\r\n\r\nHope this helps!\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"cmontella"}}