{"id":1301,"date":"2023-04-25T12:24:15","date_gmt":"2023-04-25T11:24:15","guid":{"rendered":"https:\/\/ibex.tech\/csharp\/?p=1301"},"modified":"2023-04-25T12:27:16","modified_gmt":"2023-04-25T11:27:16","slug":"using-strings-stored-arrays","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/c-sharp\/strings\/using-strings-stored-arrays","title":{"rendered":"Using Strings-Stored Arrays"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Convert comma separated string to a list<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\tsTemp = \"Something,Something Else,Hello\";\n\tList&lt;String&gt; Values = sTemp.Split(',').ToList();<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Convert a List to a comma separated string<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\tList&lt;String> Values = new List&lt;String> {\"Something\", \"Something Else\", \"Hello\"}\r\n\tsTemp = String.Join(\",\", Values);<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Convert comma separated string to a list Convert a List to a comma separated string<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1301","post","type-post","status-publish","format-standard","hentry","category-strings"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=1301"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1301\/revisions"}],"predecessor-version":[{"id":1304,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1301\/revisions\/1304"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=1301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=1301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=1301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}