realbasic-nug
[Top] [All Lists]

Re: Case question

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Case question
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Thu, 30 Sep 2004 15:49:00 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <093020041946 dot 29049 dot 415C6285000A4BDF000071792200750330080A0B03 at comcast dot net>

On Sep 30, 2004, at 3:46 PM, mdeh at comcast dot net wrote:

Hi all,
Given a string in an editfield, is there a function to determine whether the string is UpperCase, Lowercase, TitleCase or none of these?


No, but you could do something like

Function IsUppercase(s as String) as Boolean
  Return StrComp(s, Uppercase(s), 0) = 0
End if

--------------
Charles Yeomans

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

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

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