| View previous topic :: View next topic |
| Author |
Message |
Daff Guest
|
Posted: Tue Dec 09, 2003 9:32 am Post subject: How to read last part of a string |
|
|
Hi..
How do you read the last tree letters in a string?
In advance, thanks.
Daff
|
|
| Back to top |
|
 |
Jeremy Collins Guest
|
Posted: Tue Dec 09, 2003 9:54 am Post subject: Re: How to read last part of a string |
|
|
Daff wrote:
| Quote: | How do you read the last tree letters in a string?
|
Copy(s, Length(s) - 2, 3)
where "s" is a string.
--
jc
Remove the -not from email
|
|
| Back to top |
|
 |
Marcel van den Arend Guest
|
Posted: Wed Dec 10, 2003 11:09 am Post subject: Re: How to read last part of a string |
|
|
uses StrUtils;
RightStr(s,3);
where s is String;
"Daff" <d_f (AT) hotmail (DOT) com> wrote
| Quote: | Hi..
How do you read the last tree letters in a string?
In advance, thanks.
Daff
|
|
|
| Back to top |
|
 |
|