<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24Substr</id>
	<title>$Substr - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24Substr"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=$Substr&amp;action=history"/>
	<updated>2026-05-11T11:49:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=$Substr&amp;diff=70894&amp;oldid=prev</id>
		<title>Mlarocca: Mlarocca moved page $SUBSTR to $Substr: Lower case change</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=$Substr&amp;diff=70894&amp;oldid=prev"/>
		<updated>2014-07-29T19:24:48Z</updated>

		<summary type="html">&lt;p&gt;Mlarocca moved page &lt;a href=&quot;/index.php?title=$SUBSTR&quot; class=&quot;mw-redirect&quot; title=&quot;$SUBSTR&quot;&gt;$SUBSTR&lt;/a&gt; to &lt;a href=&quot;/index.php?title=$Substr&quot; title=&quot;$Substr&quot;&gt;$Substr&lt;/a&gt;: Lower case change&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:24, 29 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mlarocca</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=$Substr&amp;diff=58492&amp;oldid=prev</id>
		<title>Alex: Automatically generated page update</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=$Substr&amp;diff=58492&amp;oldid=prev"/>
		<updated>2013-04-20T13:18:25Z</updated>

		<summary type="html">&lt;p&gt;Automatically generated page update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;p&amp;gt;The $SUBSTR function returns a substring of a string. $SUBSTR is identical to $DEBLANK except that $DEBLANK strips the resulting string of leading and trailing blanks, and $SUBSTR does not.     &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Syntax&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The format of the $SUBSTR function is:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;$SUBSTR(string, position, length) &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;where:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;string is the string from which the substring is derived.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;position is the position in the string at which the substring is to begin.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;length is the maximum length of the substring. If this argument is omitted, a default value of 255 is used. &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The position and length arguments are rounded to positive integers. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Example 1&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;$SUBSTR(&amp;#039;KITTREDGE&amp;#039;, 4,3) equals &amp;#039;TRE&amp;#039;&lt;br /&gt;
$SUBSTR(&amp;#039;ANTELOPE&amp;#039;, 7) equals &amp;#039;PE&amp;#039;&lt;br /&gt;
$SUBSTR(&amp;#039;TOO&amp;#039;, 19, 2) equals &amp;quot; (null string)&lt;br /&gt;
$SUBSTR(&amp;#039;ACCOUNT&amp;#039;, -3, 5) equals &amp;#039;ACCOU&amp;#039; &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Example 2&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This request searches the FIRST NAME field of all the Smiths and creates a list of names that begin with A, B, C, or D.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;BEGIN&lt;br /&gt;
FIND.RECS: FIND ALL RECORDS FOR WHICH&lt;br /&gt;
                LAST NAME = SMITH&lt;br /&gt;
           END FIND&lt;br /&gt;
           FOR EACH RECORD IN FIND.RECS&lt;br /&gt;
                IF $ONEOF($SUBSTR(FIRSTNAME, 1, 1),-&lt;br /&gt;
                   &amp;#039;A/B/C/D&amp;#039;,&amp;#039;/&amp;#039;) &lt;br /&gt;
                THEN PLACE RECORD ON NAME&lt;br /&gt;
                  .&lt;br /&gt;
                  .&lt;br /&gt;
                  .       &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
[[Category:SOUL $functions]]&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>