I will place the above in Edit1 and then with the push of a button I will print it to Edit2 without the decimals and numbers. So the result will only be letters. I tried your above method but did not succeed.
Please for help. Thanks

Thanks so much Chervil. I tested the above on a friends machine... He uses the current Embarcadero. It worked but I do not have embarcadero. I only have c++ borland.
I use c++ borland and hence the reason why ansistrings are better for me.
How can we solve this problem without using [
if ((c != '.') && ((c<'0') || (c>'9')))] but only using length, pos, delete and sub string

If for some reason you don't want to use LastDelimiter, you could use a loop to step through the string a character at a time, test the character to see whether it is wanted or not, and delete the unwanted characters.

Edit: I tried a version using the function AnsiPos which was similar to the above, but can search for only one character at a time (at least in this particular problem) and so required an additional loop to test first for '.', then for '0', then for '1' and so on, so the code was not as simple.

I'm trying to figure out what is the rule which describes the requirements.
It looks like, if the number is followed by a dot, remove both the number and the dot, sometimes. Other times (such as 77.) leave it as it is.