realbasic-nug
[Top] [All Lists]

Re: Select Case and case-sensitive strings?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Select Case and case-sensitive strings?
From: Norman Palardy <npalardy@great-white-software.com>
Date: Thu, 31 Jul 2008 14:00:47 -0600
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <45FCA81D-B4F8-46B3-9211-09B44F706176@tolisgroup.com>
References: <33EF913F-876B-4E1F-A190-AC27DF8EC258@tolisgroup.com> <45FCA81D-B4F8-46B3-9211-09B44F706176@tolisgroup.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On 31-Jul-08, at 1:37 PM, Tim Jones wrote:

On Jul 31, 2008, at 12:15 PM, Tim Jones wrote:

Hi Folks,

Is Select Case support to ignore case with comparing strings? I'm trying to process args() and I'm duplicating an existing Unix tools that's unavailable on OS X and the source is long ago lost. However, the original app had different meanings for different case - i.e.: -s meant one thing while -S meant something else.

Is Select Case "supposed" to ignore case "when" comparing strings?

Yes
Just like every other string comparison in RB is case insensitive

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>