<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Replace characters by position in a string.'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sun, 05 Apr 2026 18:18:24 +0000</lastBuildDate>
    <item>
      <title>laxmipipeindustries406 said on 11/Feb/2020</title>
      <link>https://snipplr.com/view/38341/replace-characters-by-position-in-a-string</link>
      <description>&lt;p&gt;Laxmi pipe industries is leading &lt;a href="http://www.laxmipipeindustries.com/"&gt;Steel Pipe Manufacturer In India&lt;/a&gt;. we manufacture and supply various shape pipes like eye shape, grooved pipes etc.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Feb 2020 09:44:43 UTC</pubDate>
      <guid>https://snipplr.com/view/38341/replace-characters-by-position-in-a-string</guid>
    </item>
    <item>
      <title>AlyssaLauren8293 said on 29/Nov/2022</title>
      <link>https://snipplr.com/view/38341/replace-characters-by-position-in-a-string</link>
      <description>&lt;p&gt;My favorite string manipulation is to take a string, and based on some positional criteria, replace specific characters in the string with other characters. This can &lt;a href="https://cbdcatalogs.com/cbd-facts/what-is-cbd-suppository-and-its-uses/"&gt;CBD Uses&lt;/a&gt; be done in many ways, but my favorite is to use the "translate" function in the Python "string" library. This function takes a string and a translation table, which is a mapping of characters to other characters. By specifying the positions of the characters to be replaced in the translation table, you can easily replace them in the string.&lt;/p&gt;</description>
      <pubDate>Tue, 29 Nov 2022 11:32:14 UTC</pubDate>
      <guid>https://snipplr.com/view/38341/replace-characters-by-position-in-a-string</guid>
    </item>
  </channel>
</rss>
