{"id":4248,"date":"2022-03-09T16:52:31","date_gmt":"2022-03-09T16:52:31","guid":{"rendered":"https:\/\/ibex.tech\/python\/?p=4248"},"modified":"2022-03-10T15:09:41","modified_gmt":"2022-03-10T15:09:41","slug":"using-strings-parsing","status":"publish","type":"post","link":"https:\/\/ibex.tech\/python\/strings-python\/using-strings-parsing","title":{"rendered":"Using Strings-Parsing"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Convert Comma Separated\u00a0String To List<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>my_list = my_string.split(',')<\/code><\/pre>\n\n\n\n<p>Note, when you split a string on a character that it also ends with, you\u2019ll end up with an empty string at the end of the list.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Convert Comma Separated\u00a0String To List Note, when you split a string on a character that it also ends with, you\u2019ll end up with an empty string at the end of the list.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[319],"tags":[],"class_list":["post-4248","post","type-post","status-publish","format-standard","hentry","category-strings-python"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/comments?post=4248"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4248\/revisions"}],"predecessor-version":[{"id":4292,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4248\/revisions\/4292"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/media?parent=4248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/categories?post=4248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/tags?post=4248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}