{"id":683,"date":"2011-12-07T12:14:41","date_gmt":"2011-12-07T12:14:41","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=683"},"modified":"2022-02-17T06:24:04","modified_gmt":"2022-02-17T06:24:04","slug":"working-with-characters-in-strings","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/strings\/working-with-characters-in-strings","title":{"rendered":"Working With Characters In Strings"},"content":{"rendered":"<h4>Replace A Character In A String<\/h4>\n<pre><code>\r\n\tsTemp = \"ABCDEF\";\r\n\tsTemp = sTemp-&gt;Substring(1, 1);\t\t\t\t\t\t\t\/\/Get a single character from the source string\r\n\tResult = Result-&gt;Remove(LICENSER_PRODUCT_ID_1_INDEX, 1);\t\t\/\/Remove the character to be replaced in the destination string\r\n\tResult = Result-&gt;Insert(LICENSER_PRODUCT_ID_1_INDEX, sTemp);\t\t\/\/Add the character\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Replace A Character In A String sTemp = &#8220;ABCDEF&#8221;; sTemp = sTemp-&gt;Substring(1, 1); \/\/Get a single character from the source string Result = Result-&gt;Remove(LICENSER_PRODUCT_ID_1_INDEX, 1); \/\/Remove the character to be replaced in the destination string Result = Result-&gt;Insert(LICENSER_PRODUCT_ID_1_INDEX, sTemp); \/\/Add the character<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-683","post","type-post","status-publish","format-standard","hentry","category-strings"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=683"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/683\/revisions"}],"predecessor-version":[{"id":1041,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/683\/revisions\/1041"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}