{"id":1080,"date":"2022-02-11T14:55:04","date_gmt":"2022-02-11T14:55:04","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=1080"},"modified":"2022-08-11T15:34:51","modified_gmt":"2022-08-11T15:34:51","slug":"get-string-from-template","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/get-string-from-template\/","title":{"rendered":"Get String From Template"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Replaces specified in the operator text with the linked values in string\/text. May be used for simple templates to be filled with actual values.<\/p>\n\n\n\n<p>Works like <a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/replace-substring\/\">Replace Substring<\/a> but can replace search for several needles and replace with several values with one operator.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#6888c9;\">template<\/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>in the following fields input directly in the operator a value being searched (needle) and link with its new value<\/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:#6888c9;\">string<\/span>&nbsp;&#8211; string with 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-155-197b8d0b09714f5493f8d470e84765e2-1024x464.png\" alt=\"\" class=\"wp-image-1047\" width=\"759\" height=\"344\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/02\/img-155-197b8d0b09714f5493f8d470e84765e2-1024x464.png 1024w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/02\/img-155-197b8d0b09714f5493f8d470e84765e2-300x136.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/02\/img-155-197b8d0b09714f5493f8d470e84765e2-768x348.png 768w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/02\/img-155-197b8d0b09714f5493f8d470e84765e2.png 1329w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/figure>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_1080' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-1080\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-1a960e2578d50' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-1a960e2578d50'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='1080' \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-1a960e2578d50\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"1080\" \n                               id=\"yasr-stats-dashicon-1a960e2578d50\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-1a960e2578d50\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-1a960e2578d50\">0<\/span>  Average: <span id=\"yasr-vv-average-container-1a960e2578d50\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-1a960e2578d50' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-1a960e2578d50' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Replaces specified in the operator text with the linked values in string\/text. May be used for simple templates to be filled with actual values. Works like Replace Substring but can replace search for several needles and replace with several values with one operator. inputs: template &#8211; link with the string being searched and replaced on, &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/get-string-from-template\/\"> <span class=\"screen-reader-text\">Get String From Template<\/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-1080","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\/1080","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=1080"}],"version-history":[{"count":3,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1080\/revisions"}],"predecessor-version":[{"id":2131,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1080\/revisions\/2131"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=1080"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=1080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}