{"action":"opened","issue":{"url":"https://api.github.com/repos/cerebral/cerebral-addons/issues/23","repository_url":"https://api.github.com/repos/cerebral/cerebral-addons","labels_url":"https://api.github.com/repos/cerebral/cerebral-addons/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/cerebral/cerebral-addons/issues/23/comments","events_url":"https://api.github.com/repos/cerebral/cerebral-addons/issues/23/events","html_url":"https://github.com/cerebral/cerebral-addons/issues/23","id":150827073,"number":23,"title":"Truncate getter/setter","user":{"login":"maxfrigge","id":11060313,"avatar_url":"https://avatars.githubusercontent.com/u/11060313?v=3","gravatar_id":"","url":"https://api.github.com/users/maxfrigge","html_url":"https://github.com/maxfrigge","followers_url":"https://api.github.com/users/maxfrigge/followers","following_url":"https://api.github.com/users/maxfrigge/following{/other_user}","gists_url":"https://api.github.com/users/maxfrigge/gists{/gist_id}","starred_url":"https://api.github.com/users/maxfrigge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxfrigge/subscriptions","organizations_url":"https://api.github.com/users/maxfrigge/orgs","repos_url":"https://api.github.com/users/maxfrigge/repos","events_url":"https://api.github.com/users/maxfrigge/events{/privacy}","received_events_url":"https://api.github.com/users/maxfrigge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-25T11:21:15Z","updated_at":"2016-04-25T11:21:15Z","closed_at":null,"body":"How would you feel about having a truncate getter and/or setter that truncates a string to N characters?\r\n\r\n```javascript\r\ncopy('input:/myString', truncate('state:/myString', 10))\r\ncopy(truncate('input:/myString', 10), 'state:/myString')\r\n```"}}