<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 22 Nov 2008 00:24:07 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Alex Netkachov's Blog: BAT file tips]]></title>
      <guid>http://www.phpdeveloper.org/news/10355</guid>
      <link>http://www.phpdeveloper.org/news/10355</link>
      <description><![CDATA[<p>
<i>Alex Netkachov</i> has updated <a href="http://www.alexatnet.com/node/22">a post he made</a> a while back (in 2006 in fact) about making Windows batch files (.BAT) that would do the same thing as some of the functions in PHP. He's added two more to it today - one for string replace and another for splitting a string.
</p>
<p>
The <a href="http://www.alexatnet.com/node/22#string_replace">replace</a> is as simple three line call, much the same as PHP's and the <a href="http://www.alexatnet.com/node/22#string_split">split call</a>, while a bit more complex, is still pretty straight forward (it just needs a few extra variables).
</p>
<p>
Other methods in <a href="http://www.alexatnet.com/node/22">the post</a> include a "switch" method, defining a procedure and updating variable by its name.
</p>]]></description>
      <pubDate>Fri, 06 Jun 2008 07:58:08 -0500</pubDate>
    </item>
  </channel>
</rss>
