Frank,
I am happy with them as they are - I was simply pointing out that TRIM already existed in dialects of Pascal when Turbo Pascal etc. were just a twinkles in someone's eye. As I said, a pre-historical note!
Cheerio for now, John
Frank Heckenbach wrote:
John P.R. Archer wrote:
A pre-historical note: The built-in 'add ons':- TRIM - remove trailing blanks LTRIM - remove leading blanks
have always existed in Pascal/VS and then VS/Pascal - IBM mainframe implementation - very old....
GPC has Trim{Left,Right,Both}Str as functions and Trim{Left,Right,Both} as procedures in the GPC unit (besides the built-in Trim). I can add LTrim as a synonym for TrimLeftStr in the unit.
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html