The COPY function is useful for extracting parts of strings, combine this
with the POS (if  the position, in the string, of the letter being changed
is not constant) and you can do it. Both are explained in the Delphi on-line
help

There's bound to be more elegant ways.....





----- Original Message -----
From: "gajo" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Wednesday, February 16, 2000 11:28 PM
Subject: [DUG]: String -> Char


> I have a string, for example "test"..
> Now I want to take the t letter out and convert it to number..
> But to do this I have to convert that t string to char.. how can I do
> this?
> And how can I convert a char to string?
>
> Gajo
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to