Article View: borland.public.cppbuilder.nativeapi
Article #15299Re: Determining the case of a string
From: Remy Lebeau (TeamB)
Date: Wed, 09 Jul 2003 05:17
Date: Wed, 09 Jul 2003 05:17
13 lines
1446 bytes
1446 bytes
"Josh Kirkpatrick" <jkirkpat@softhome.net> wrote in message
news:3f0b983a@newsgroups.borland.com...
> I need to programatically determine whether a string
> ("A", "b",etc.) is uppercase or lowercase. What's the
> simplest course of action?
You would have to test each individual character of the string separately.
You can then use the standard C library's isupper() and islower() functions.
Gambit
Technical Details
Message-ID:
<3f0ba516$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f0b983a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b6b597469f9a3144 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-08 22:40:04 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f0b983a@newsgroups.borland.com> Subject: Re: Determining the case of a string Date: Tue, 8 Jul 2003 22:17:33 -0700 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f0ba516$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057727766 207.175.226.26 (8 Jul 2003 22:16:06 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail