<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1011888" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1011888</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/substring-function#comment-1068340</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;var sIndex = 0;&lt;br /&gt;
var eIndex = &#039;Q10070&#039;.length;  // 6&lt;br /&gt;
if(&#039;Q10070&#039;.indexOf(LongString) != -1)&lt;br /&gt;
{&lt;br /&gt;
 sIndex = &#039;Q10070&#039;.indexOf(LongString)&lt;br /&gt;
 Str2Right = LongString.subString(sIndex, sIndex + eIndex);&lt;br /&gt;
 Str2Left = LongString.subString(0, sIndex);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;If you would like some more, see the &quot;String Functions&quot; script/tutorial at my site.&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Thu, 27 Jul 2000 22:39:42 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1068340 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/substring-function#comment-1068321</link>
    <description> &lt;p&gt;This is a long string which I am pulling from the database. I want to extract &#039;Q10070&#039; from that long string&lt;/p&gt;
 </description>
     <pubDate>Thu, 27 Jul 2000 18:57:09 +0000</pubDate>
 <dc:creator>dhaliwam</dc:creator>
 <guid isPermaLink="false">comment 1068321 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/substring-function#comment-1068319</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;  I&#039;m confused. What does show_question() do? retrieve the string?&lt;br /&gt;
The following is the syntax for the subString method:&lt;/p&gt;
&lt;p&gt; var x = someString.subString(start,end);&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Thu, 27 Jul 2000 18:21:31 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1068319 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
