comp.lang.ada
 help / color / mirror / Atom feed
* string to uppercase
@ 2002-04-23  7:18 Brian
  2002-04-23  9:35 ` Jacob Sparre Andersen
  2002-04-23 12:41 ` David Botton
  0 siblings, 2 replies; 4+ messages in thread
From: Brian @ 2002-04-23  7:18 UTC (permalink / raw)



This is probably a simple question and I apologise for it, but is their a
simple way to change the case of a string 
ie. from lower to upper.

Thanks



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: string to uppercase
@ 2002-04-23  9:13 Gautier Write-only-address
  0 siblings, 0 replies; 4+ messages in thread
From: Gautier Write-only-address @ 2002-04-23  9:13 UTC (permalink / raw)


>This is probably a simple question and I apologise for it, but is
>their a simple way to change the case of a string
>ie. from lower to upper.

In Ada.Characters.Handling you have...

...
   ---------------------------------------------------
   -- Conversion Functions for Character and String --
   ---------------------------------------------------

   function To_Lower (Item : in Character) return Character;
   function To_Upper (Item : in Character) return Character;
   function To_Basic (Item : in Character) return Character;

   function To_Lower (Item : in String) return String;
   function To_Upper (Item : in String) return String;
   function To_Basic (Item : in String) return String;
...

HTH
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, address on the Web site!


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: string to uppercase
  2002-04-23  7:18 string to uppercase Brian
@ 2002-04-23  9:35 ` Jacob Sparre Andersen
  2002-04-23 12:41 ` David Botton
  1 sibling, 0 replies; 4+ messages in thread
From: Jacob Sparre Andersen @ 2002-04-23  9:35 UTC (permalink / raw)


Brian wrote:
> 
> This is probably a simple question and I apologise for it, but is their a
> simple way to change the case of a string
> ie. from lower to upper.

See section A.3.2 in the LRM.

Jacob
-- 
"Unix, Perl og Ole har man for at slippe for at g�re
 arbejdet selv."



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: string to uppercase
  2002-04-23  7:18 string to uppercase Brian
  2002-04-23  9:35 ` Jacob Sparre Andersen
@ 2002-04-23 12:41 ` David Botton
  1 sibling, 0 replies; 4+ messages in thread
From: David Botton @ 2002-04-23 12:41 UTC (permalink / raw)


See AdaPower!! http://www.adapower.com

Check out the Language and Technique Examples -
http://www.adapower.com/lang/

and in particular

Changing Strings to Upper or Lower Case -
http://www.adapower.com/lang/tocase.html

David Botton


"Brian" <oliver1@westnet.com.au> wrote in message
news:3cc5dd98@quokka.wn.com.au...
>
> This is probably a simple question and I apologise for it, but is their a
> simple way to change the case of a string
> ie. from lower to upper.
>
> Thanks





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-23 12:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-23  7:18 string to uppercase Brian
2002-04-23  9:35 ` Jacob Sparre Andersen
2002-04-23 12:41 ` David Botton
  -- strict thread matches above, loose matches on Subject: below --
2002-04-23  9:13 Gautier Write-only-address

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox