Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi Return last 3 characters of a string

I need to get the last 3 characters of a string in delphi.

I have been googling and found LastDelimiter but not an example that does something like this.

Any ideas of what I need to be looking for or how this is done?

like image 420
Satch3000 Avatar asked May 06 '14 19:05

Satch3000


1 Answers

Unit StrUtils contains function RightStr, which seems what you are looking for.

like image 191
Uwe Raabe Avatar answered Sep 25 '22 18:09

Uwe Raabe