{"id":12,"date":"2024-09-04T13:29:22","date_gmt":"2024-09-04T20:29:22","guid":{"rendered":"https:\/\/gilosoftblogcom.wordpress.com\/2024\/09\/04\/growth-unlocked\/"},"modified":"2024-09-04T13:29:22","modified_gmt":"2024-09-04T20:29:22","slug":"growth-unlocked","status":"publish","type":"post","link":"https:\/\/blog.gilosoft.com\/index.php\/2024\/09\/04\/growth-unlocked\/","title":{"rendered":"Using Slice function in Power Automate"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Power Automate has many different functions that can solve many different problems. Text functions in particular are used to manipulate strings that can streamline workflows. Here we will be exploring the slice text function and how to utilize it in Power Automate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly lets familiarize ourselves with the slice function syntax shown below:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nslice('&lt;text&gt;', &lt;startIndex&gt;, &lt;endIndex&gt;?)\n\n&lt;text&gt; - the string you want to manipulate\n&lt;startIndex&gt; - the integer place on the string you want to begin your substring.\n&lt;endIndex&gt; - the integer place on the string you want to end your substring.\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Step-by-Step Guide to Slice function Example<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1: Create A New Instant Cloud Flow.(flow.microsoft.com)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gilosoft.com\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-22-at-11.33.28%E2%80%AFAM-1024x652.png\" alt=\"\" class=\"wp-image-2447\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2: Add an initialize variable with the following details as a template:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gilosoft.com\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-22-at-12.32.46%E2%80%AFPM-1024x351.png\" alt=\"\" class=\"wp-image-2450\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 3: Add a compose action card with the following details.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gilosoft.com\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-22-at-12.39.03%E2%80%AFPM-1024x355.png\" alt=\"\" class=\"wp-image-2452\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 4: Save &amp; Test the flow and you should get the following results.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gilosoft.com\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-22-at-12.38.29%E2%80%AFPM-1-1024x595.png\" alt=\"\" class=\"wp-image-2453\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Every business has a unique potential waiting to be tapped. Recognizing the keys to unlock this growth can set an enterprise on the path to unprecedented success.<\/p>\n","protected":false},"author":2,"featured_media":25,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-power-automate-text-functions"],"_links":{"self":[{"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":0,"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/media\/25"}],"wp:attachment":[{"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.gilosoft.com\/index.php\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}