<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Richard Siddaway's Blog : Strings</title><link>http://powershell.com/cs/blogs/richardsiddaway/archive/tags/Strings/default.aspx</link><description>Tags: Strings</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Working with strings: bits and pieces</title><link>http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/12/working-with-strings-bits-and-pieces.aspx</link><pubDate>Tue, 12 Jul 2011 19:19:46 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:11353</guid><dc:creator>Richard Siddaway's Blog</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://powershell.com/cs/blogs/richardsiddaway/rsscomments.aspx?PostID=11353</wfw:commentRss><comments>http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/12/working-with-strings-bits-and-pieces.aspx#comments</comments><description>In the previous post I showed how to generate the parent OUs by splitting and rejoining a string. I used the operators –split and –join These were introduced in PowerShell v2.&amp;#160; In PowerShell v1 we had to use the split() method and stitch the thing...(&lt;a href="http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/12/working-with-strings-bits-and-pieces.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://powershell.com/cs/aggbug.aspx?PostID=11353" width="1" height="1"&gt;</description><category domain="http://powershell.com/cs/blogs/richardsiddaway/archive/tags/PowerShell+V2/default.aspx">PowerShell V2</category><category domain="http://powershell.com/cs/blogs/richardsiddaway/archive/tags/Strings/default.aspx">Strings</category></item><item><title>Working with strings: I’m a substitute</title><link>http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/10/working-with-strings-i-m-a-substitute.aspx</link><pubDate>Sun, 10 Jul 2011 14:38:12 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:11314</guid><dc:creator>Richard Siddaway's Blog</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://powershell.com/cs/blogs/richardsiddaway/rsscomments.aspx?PostID=11314</wfw:commentRss><comments>http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/10/working-with-strings-i-m-a-substitute.aspx#comments</comments><description>PowerShell string substitution is a very neat trick PS (1) &amp;gt; $string = &amp;quot;World&amp;quot; PS (2) &amp;gt; &amp;quot;Hello $string&amp;quot; Hello World &amp;#160; We can substitute the value of the variable into the string. The catch – it only works with double quoted...(&lt;a href="http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/10/working-with-strings-i-m-a-substitute.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://powershell.com/cs/aggbug.aspx?PostID=11314" width="1" height="1"&gt;</description><category domain="http://powershell.com/cs/blogs/richardsiddaway/archive/tags/PowerShell+V2/default.aspx">PowerShell V2</category><category domain="http://powershell.com/cs/blogs/richardsiddaway/archive/tags/Strings/default.aspx">Strings</category></item><item><title>Working with strings: likes and dislikes</title><link>http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/10/working-with-strings-likes-and-dislikes.aspx</link><pubDate>Sun, 10 Jul 2011 09:53:25 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:11310</guid><dc:creator>Richard Siddaway's Blog</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://powershell.com/cs/blogs/richardsiddaway/rsscomments.aspx?PostID=11310</wfw:commentRss><comments>http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/10/working-with-strings-likes-and-dislikes.aspx#comments</comments><description>Lets start with a string $str = &amp;quot;abcdefghi&amp;quot; We often only have part of a string to work with so we end up using –like $str -like &amp;quot;abc*&amp;quot; $str -like &amp;quot;*abc*&amp;quot; $str -like &amp;quot;*def*&amp;quot; $str -like &amp;quot;*ghi&amp;quot; &amp;#160; these...(&lt;a href="http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/10/working-with-strings-likes-and-dislikes.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://powershell.com/cs/aggbug.aspx?PostID=11310" width="1" height="1"&gt;</description><category domain="http://powershell.com/cs/blogs/richardsiddaway/archive/tags/PowerShell+V2/default.aspx">PowerShell V2</category><category domain="http://powershell.com/cs/blogs/richardsiddaway/archive/tags/Strings/default.aspx">Strings</category></item><item><title>Working with Strings: Simple comparisons</title><link>http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/09/working-with-strings-simple-comparisons.aspx</link><pubDate>Sat, 09 Jul 2011 09:25:58 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:11301</guid><dc:creator>Richard Siddaway's Blog</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://powershell.com/cs/blogs/richardsiddaway/rsscomments.aspx?PostID=11301</wfw:commentRss><comments>http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/09/working-with-strings-simple-comparisons.aspx#comments</comments><description>Lets start with simple string matching as its a task that frequently comes along &amp;quot;aaa&amp;quot; -eq &amp;quot;aaa&amp;quot; &amp;quot;aaa&amp;quot; -ceq &amp;quot;aaa&amp;quot; &amp;#160; both return true.&amp;#160; What’s –ceq you ask? PowerShell by design is case insensitive so for...(&lt;a href="http://powershell.com/cs/blogs/richardsiddaway/archive/2011/07/09/working-with-strings-simple-comparisons.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://powershell.com/cs/aggbug.aspx?PostID=11301" width="1" height="1"&gt;</description><category domain="http://powershell.com/cs/blogs/richardsiddaway/archive/tags/Strings/default.aspx">Strings</category></item></channel></rss>