| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Select Case and case-sensitive strings? |
| From: | Keith DeLong <lists@redcort.com> |
| Date: | Thu, 31 Jul 2008 12:33:00 -0700 |
| 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: | <33EF913F-876B-4E1F-A190-AC27DF8EC258@tolisgroup.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
| Thread-index: | AcjzRD3JfBMR2l83Ed2N1AAbY5tzNg== |
| Thread-topic: | Select Case and case-sensitive strings? |
| User-agent: | Microsoft-Entourage/11.4.0.080122 |
> 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. > > Did my nice clean Select Case just become a huge nested If - ElseIf - > End If block using StrComp in binary mode? > > Tim Select Case is case insensitive. Would Asc() Chr() keep things simple? i.e. Select Case Asc( argumentVar ) Case Chr(s) Case Chr(S) .... End Select Keith DeLong _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Select Case and case-sensitive strings?, Tim Jones |
|---|---|
| Next by Date: | Re: Select Case and case-sensitive strings?, Joe Strout |
| Previous by Thread: | Select Case and case-sensitive strings?, Tim Jones |
| Next by Thread: | Re: Select Case and case-sensitive strings?, Joe Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |