<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Replace Third Character from Left in a String in JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Replace-Third-Character-from-Left-in-a-String-in-JSL/m-p/226346#M44904</link>
    <description>&lt;P&gt;Here is the simple script&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Current Data Table();

For Each Row(
	dt:YourColumn = Substr( dt:YourColumn, 1, Length( dt:YourColumn ) - 4 ) || "9" ||
	Right( dt:YourColumn, -2 )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I strongly suggest that you take the time to read the Scripting Guide, so that you will have the background knowledge that will allow you to solve these questions&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2019 21:36:11 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2019-09-18T21:36:11Z</dc:date>
    <item>
      <title>Replace Third Character from Left in a String in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Replace-Third-Character-from-Left-in-a-String-in-JSL/m-p/226336#M44903</link>
      <description>&lt;P&gt;I would like to take a column with a string in it, and in each row, replace the third character from the left with a "9." How might I go about this using JSL?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 21:08:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Replace-Third-Character-from-Left-in-a-String-in-JSL/m-p/226336#M44903</guid>
      <dc:creator>twillkickers</dc:creator>
      <dc:date>2019-09-18T21:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Third Character from Left in a String in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Replace-Third-Character-from-Left-in-a-String-in-JSL/m-p/226346#M44904</link>
      <description>&lt;P&gt;Here is the simple script&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Current Data Table();

For Each Row(
	dt:YourColumn = Substr( dt:YourColumn, 1, Length( dt:YourColumn ) - 4 ) || "9" ||
	Right( dt:YourColumn, -2 )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I strongly suggest that you take the time to read the Scripting Guide, so that you will have the background knowledge that will allow you to solve these questions&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 21:36:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Replace-Third-Character-from-Left-in-a-String-in-JSL/m-p/226346#M44904</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-09-18T21:36:11Z</dc:date>
    </item>
  </channel>
</rss>

