{"id":1078,"date":"2022-02-11T14:52:55","date_gmt":"2022-02-11T14:52:55","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=1078"},"modified":"2022-06-10T10:18:31","modified_gmt":"2022-06-10T10:18:31","slug":"replace-substring","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/replace-substring\/","title":{"rendered":"Replace Substring"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Replaces all occurrences of the search string with the replacement string.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#9ed267;\">string<\/span> &#8211; link with the string being searched and replaced on, otherwise known as the haystack.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#9ed267;\">search<\/span> &#8211; input or&nbsp;specify directly the value being searched for, otherwise known as the needle.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#9ed267;\">replace<\/span> &#8211; input or&nbsp;specify directly the replacement value that replaces found <span style=\"color:#9ed267;\"><em>search<\/em><\/span> values, If empty then all values in <span style=\"color:#9ed267;\"><em>search<\/em><\/span> are be erased from <span style=\"color:#9ed267;\"><em>string<\/em><\/span>.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: no<\/li><\/ul>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#9ed267;\">result<\/span>&nbsp;&#8211; string with the replaced values.<\/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\/2022\/02\/img-154-1197c3cf7d5645868a15f91d0bcdb641-1024x339.png\" alt=\"\" class=\"wp-image-1046\" width=\"648\" height=\"215\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/02\/img-154-1197c3cf7d5645868a15f91d0bcdb641-1024x339.png 1024w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/02\/img-154-1197c3cf7d5645868a15f91d0bcdb641-300x99.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/02\/img-154-1197c3cf7d5645868a15f91d0bcdb641-768x254.png 768w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/02\/img-154-1197c3cf7d5645868a15f91d0bcdb641.png 1049w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/figure>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_1078' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-1078\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-0eea36c84a907' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-0eea36c84a907'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='1078' \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-0eea36c84a907\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"1078\" \n                               id=\"yasr-stats-dashicon-0eea36c84a907\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-0eea36c84a907\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-0eea36c84a907\">0<\/span>  Average: <span id=\"yasr-vv-average-container-0eea36c84a907\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-0eea36c84a907' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-0eea36c84a907' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Replaces all occurrences of the search string with the replacement string. inputs: string &#8211; link with the string being searched and replaced on, otherwise known as the haystack. Required: yes search &#8211; input or&nbsp;specify directly the value being searched for, otherwise known as the needle. Required: yes replace &#8211; input or&nbsp;specify directly the replacement value &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/replace-substring\/\"> <span class=\"screen-reader-text\">Replace Substring<\/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-1078","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\/1078","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=1078"}],"version-history":[{"count":2,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1078\/revisions"}],"predecessor-version":[{"id":1794,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1078\/revisions\/1794"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=1078"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=1078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}