{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/636","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/636/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/636/events","html_url":"https://github.com/KSP-KOS/KOS/issues/636","id":59631858,"number":636,"title":"Discussion: what String functions we want to introduce into kOS.","user":{"login":"ZiwKerman","id":11242352,"avatar_url":"https://avatars.githubusercontent.com/u/11242352?v=3","gravatar_id":"","url":"https://api.github.com/users/ZiwKerman","html_url":"https://github.com/ZiwKerman","followers_url":"https://api.github.com/users/ZiwKerman/followers","following_url":"https://api.github.com/users/ZiwKerman/following{/other_user}","gists_url":"https://api.github.com/users/ZiwKerman/gists{/gist_id}","starred_url":"https://api.github.com/users/ZiwKerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZiwKerman/subscriptions","organizations_url":"https://api.github.com/users/ZiwKerman/orgs","repos_url":"https://api.github.com/users/ZiwKerman/repos","events_url":"https://api.github.com/users/ZiwKerman/events{/privacy}","received_events_url":"https://api.github.com/users/ZiwKerman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-03T11:57:38Z","updated_at":"2015-03-03T18:25:24Z","closed_at":null,"body":"I've been tinkering with adding some String manipulation functions in my local build of kOS and following examples in the existing code was able to successfully implement a list very simple String functions such as\r\n\r\nbool contains(String, SearchString)\r\n\r\nbool StartsWith(String, SearchString)\r\n\r\nbool EndsWith(String, SearchString)\r\n\r\nList Split(String, SplitString).\r\n\r\nThey work like usual functions (min, round and etc), and they were rather easy to implement as they just mimick very basic string manipulation. Only Split function required some more code hunting, but I ended up using parts of code from buildlist function.\r\n\r\nMy questions are\r\n \r\n * What set of String Manipultaion functions we want to introduce into kOS? \r\n * Do we want them as functions like simple math functions or make them as suffixes?\r\n\r\nIf we settle on a certain limited set of functions, I can implement them, write the relevant docs and submit a PR.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/comments/77003649","html_url":"https://github.com/KSP-KOS/KOS/issues/636#issuecomment-77003649","issue_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/636","id":77003649,"user":{"login":"TDW89","id":5874693,"avatar_url":"https://avatars.githubusercontent.com/u/5874693?v=3","gravatar_id":"","url":"https://api.github.com/users/TDW89","html_url":"https://github.com/TDW89","followers_url":"https://api.github.com/users/TDW89/followers","following_url":"https://api.github.com/users/TDW89/following{/other_user}","gists_url":"https://api.github.com/users/TDW89/gists{/gist_id}","starred_url":"https://api.github.com/users/TDW89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TDW89/subscriptions","organizations_url":"https://api.github.com/users/TDW89/orgs","repos_url":"https://api.github.com/users/TDW89/repos","events_url":"https://api.github.com/users/TDW89/events{/privacy}","received_events_url":"https://api.github.com/users/TDW89/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T18:25:24Z","updated_at":"2015-03-03T18:25:24Z","body":"@ZiwKerman How does your split behave? Would Split(foo.ks,.). Give the list [foo.|ks] or [foo|.ks] or [foo|.|ks] or something else? "}}