<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Replace String from particular position' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Replace String from particular position' posted on the 'Advanced Delphi' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Tue, 18 Jun 2013 19:39:59 -0700</pubDate>
    <lastBuildDate>Tue, 18 Jun 2013 19:39:59 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Replace String from particular position</title>
      <link>http://www.programmersheaven.com/mb/AdvancedDelphi/382627/382627/replace-string-from-particular-position/</link>
      <description>Dear all,&lt;br /&gt;
&lt;br /&gt;
I want to have a string function that replaces the substring with another&lt;br /&gt;
set of characters - but the condition is that i want a particular&lt;br /&gt;
substring to be replaced if there are multiple same substring exits.&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
Original_String :='I am an Indian'&lt;br /&gt;
&lt;br /&gt;
Character/substring to replace 'a'&lt;br /&gt;
&lt;br /&gt;
Required_String := 'I am an IndiaXn'&lt;br /&gt;
&lt;br /&gt;
can you see - there are multiple 'a's into Original_String, however&lt;br /&gt;
I just want to replace the last a with X.&lt;br /&gt;
&lt;br /&gt;
I tried native replace_string function but that replaces all 'a's - instead I want particular one...&lt;br /&gt;
&lt;br /&gt;
any help?&lt;br /&gt;
&lt;br /&gt;
thanks in advance&lt;br /&gt;
&lt;br /&gt;
regards&lt;br /&gt;
&lt;br /&gt;
Jeet&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/AdvancedDelphi/382627/382627/replace-string-from-particular-position/</guid>
      <pubDate>Fri, 05 Dec 2008 03:48:04 -0700</pubDate>
      <category>Advanced Delphi</category>
    </item>
    <item>
      <title>Replace String from particular position</title>
      <link>http://www.programmersheaven.com/mb/AdvancedDelphi/382627/383480/replace-string-from-particular-position/#383480</link>
      <description>hi,&lt;br /&gt;
&lt;br /&gt;
use this code.&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=380"&gt;String Replacement.rar&lt;/a&gt; (328 bytes | downloaded 562 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/AdvancedDelphi/382627/383480/replace-string-from-particular-position/#383480</guid>
      <pubDate>Wed, 24 Dec 2008 03:43:50 -0700</pubDate>
      <category>Advanced Delphi</category>
    </item>
  </channel>
</rss>