![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | "The String's the Thing" Windows PowerShell Tip of the Week Looking at http://www.microsoft.com/technet/scr...pstip0921.mspx it seems to me that it has the descriptions of case sensitivity backwards in the "Comparing Two String Values" section. Can someone confirm that? - Larry |
My System Specs![]() |
| | #2 (permalink) |
| | Re: "The String's the Thing" Windows PowerShell Tip of the Week I didn't know about that group. Anyway, I've added the link to the group site in PowerShell Toolbar and Good luck with your presentation! --- Shay Levy Windows PowerShell MVP http://blogs.microsoft.co.il/blogs/ScriptFanatic PowerShell Toolbar: http://tinyurl.com/PSToolbar L> PowerShell strings will be the topic of this month's PowerShell SIG L> of the North Texas PC User's Group, and I'll be a presenter, so I'm L> preparing a handout. L> L> http://sp.ntpcug.org/PowerShell/default.aspx L> L> - Larry L> L> Bob Landau wrote: L> Quote: Quote: >> Check this out >> >> [int][char]'A' >> [int][char]'a' >> Yes they have it backwards simple mistake. >> >> What I wish they had shown is for many common tasks the Powershell >> string capabilities work quite well and as a bonus you don't have to >> worry about upper or Lower case. >> >> i.e. >> >> 'foo bar'.StartsWith('f') >> 'foo bar' -like 'f*' # actually less typing and still works >> regardless of case >> add the native PS RegEx, Split, Join and you can go a long ways >> without needing to worry about case sensitivity that you must in >> every other language. >> >> "Larry__Weiss" wrote: >> Quote: >>> Looking at >>> >>> http://www.microsoft.com/technet/scr...s/pstips/sept0 >>> 7/pstip0921.mspx >>> >>> it seems to me that it has the descriptions of case sensitivity >>> backwards in the "Comparing Two String Values" section. >>> >>> Can someone confirm that? >>> >>> - Larry >>> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Powershell Listing "Microsoft Windows Networking" of Domains and Workgroups ? | PowerShell | |||
| Creating a search folder like "Files updated this week" | Vista General | |||
| Creating a search folder like "Files updated this week" | Vista file management | |||
| "disk cleanup" does its own thing with Task Manager. | Vista performance & maintenance | |||
| WM5 Sync with Vista "Windows Calender", "Contacts", and "Mail" | Vista General | |||