{"id":190,"date":"2021-05-23T00:41:52","date_gmt":"2021-05-23T00:41:52","guid":{"rendered":"https:\/\/barahasoft.com.np\/blog\/?post_type=codings&#038;p=190"},"modified":"2021-05-23T00:41:52","modified_gmt":"2021-05-23T00:41:52","slug":"how-to-concate-string-in-kotlin","status":"publish","type":"codings","link":"https:\/\/barahasoft.com.np\/blog\/codings\/how-to-concate-string-in-kotlin\/","title":{"rendered":"How to concate string in kotlin?"},"content":{"rendered":"\n<p>We can use StringBuilder() to concate strings in kotlin.<\/p>\n\n\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\nvar str1  = &quot;Apple&quot;\nvar str2  = &quot;Orange&quot;\nvar sb = StringBuilder()\nsb.append(str1).append(str2)\nvar finalString = sb.toString()\n<\/pre>\n\n\n<p><\/p>\n","protected":false},"featured_media":0,"parent":0,"template":"","tags":[],"language":[36],"ctype":[40],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to concate string in kotlin? - BS Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/barahasoft.com.np\/blog\/codings\/how-to-concate-string-in-kotlin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to concate string in kotlin? - BS Blog\" \/>\n<meta property=\"og:description\" content=\"We can use StringBuilder() to concate strings in kotlin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/barahasoft.com.np\/blog\/codings\/how-to-concate-string-in-kotlin\/\" \/>\n<meta property=\"og:site_name\" content=\"BS Blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/barahasoft.com.np\/blog\/#website\",\"url\":\"https:\/\/barahasoft.com.np\/blog\/\",\"name\":\"BS Blog\",\"description\":\"Baraha Soft Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/barahasoft.com.np\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/barahasoft.com.np\/blog\/codings\/how-to-concate-string-in-kotlin\/#webpage\",\"url\":\"https:\/\/barahasoft.com.np\/blog\/codings\/how-to-concate-string-in-kotlin\/\",\"name\":\"How to concate string in kotlin? - BS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/barahasoft.com.np\/blog\/#website\"},\"datePublished\":\"2021-05-23T00:41:52+00:00\",\"dateModified\":\"2021-05-23T00:41:52+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/barahasoft.com.np\/blog\/codings\/how-to-concate-string-in-kotlin\/\"]}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/codings\/190"}],"collection":[{"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/codings"}],"about":[{"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/types\/codings"}],"wp:attachment":[{"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/media?parent=190"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/tags?post=190"},{"taxonomy":"language","embeddable":true,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/language?post=190"},{"taxonomy":"ctype","embeddable":true,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/ctype?post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}