{"id":653,"date":"2022-01-04T15:19:02","date_gmt":"2022-01-04T15:19:02","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=653"},"modified":"2022-06-10T09:56:59","modified_gmt":"2022-06-10T09:56:59","slug":"split-string-into-collection","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/split-string-into-collection\/","title":{"rendered":"Split String Into Collection"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Transforms string into the collection of elements. Each element of the collection is part of the string before the given separator. Very useful to parse the text &#8211; e.g. to locate and extract&nbsp;needed part of the text.&nbsp;<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#9ed267;\">string<\/span>&nbsp;&#8211; input string to be split into collection of elements<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#9ed267;\">separator<\/span> &#8211; symbol (coma &#8220;,&#8221;, space &#8221; &#8220;, pipe &#8220;|&#8221; etc) or several which divides parts of the string to be elements of the collection&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#9ed267;\">collection<\/span>&nbsp;&#8211; collection from words of the string split by the separator<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-29-7be606edbffb4fd8ab536030244dffde-1024x226.png\" alt=\"\" class=\"wp-image-448\" width=\"1019\" height=\"225\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-29-7be606edbffb4fd8ab536030244dffde-1024x226.png 1024w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-29-7be606edbffb4fd8ab536030244dffde-300x66.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-29-7be606edbffb4fd8ab536030244dffde-768x169.png 768w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-29-7be606edbffb4fd8ab536030244dffde.png 1135w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/figure>\n\n\n\n<p>Example of extracting Case Number from the Email Subject:<\/p>\n\n\n<p><a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-29-5c2d33b2f2ea487ebc1a049c1a864096.png\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-29-5c2d33b2f2ea487ebc1a049c1a864096-1024x248.png\" alt=\"\" class=\"wp-image-378\"><\/a><\/p><div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_653' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-653\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-c969de5ef98b0' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-c969de5ef98b0'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='653' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-c969de5ef98b0\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"653\" \n                               id=\"yasr-stats-dashicon-c969de5ef98b0\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-c969de5ef98b0\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-c969de5ef98b0\">0<\/span>  Average: <span id=\"yasr-vv-average-container-c969de5ef98b0\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-c969de5ef98b0' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-c969de5ef98b0' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Transforms string into the collection of elements. Each element of the collection is part of the string before the given separator. Very useful to parse the text &#8211; e.g. to locate and extract&nbsp;needed part of the text.&nbsp; inputs: string&nbsp;&#8211; input string to be split into collection of elements Required: yes separator &#8211; symbol (coma &#8220;,&#8221;, &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/split-string-into-collection\/\"> <span class=\"screen-reader-text\">Split String Into Collection<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-653","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=653"}],"version-history":[{"count":3,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/653\/revisions"}],"predecessor-version":[{"id":1690,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/653\/revisions\/1690"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=653"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}