Hi,

Delphi string handling is not OO.
Try UpperCase(myString).
Java is nicely OO in this respect. It is possible to have a string class an Delphi 
that works in a similar way. Someone has probably written a good one. I even had a 
crack at mirroring the Python string class in Delphi using interfaces. It worked but 
Python is sooo much nicer... ahem, I digress. 
Have a look through the help for the SysUtils unit as it has the builtin string 
handling procs.
HTH,

Chris

> -----Original Message-----
> From: Vince Jones [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 2 October 2002 2:55 p.m.
> To: Multiple recipients of list delphi
> Subject: [DUG]: Please help
> 
> 
> I'm a Java programmer, in the process of changing to
> Delphi.
> I'm trying to write some simple programs, but I'm
> running into a raft of problems.
> 
> My first problem is, I can't seem to get Strings to
> work.
> eg. myString.toUpperCase produces a compiler error,
> and I can't find a list of available methods.
> 
> I can't believe strings wouldn't be available in
> Delphi Personal edition!
> 
> Can anyone help?
> Thanks, Vince.
> 
> http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
> - Always be connected to your Messenger Friends
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List - 
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to