I'm using Borland Delphi 6. I have a string that I only want part of. Since the string is always the same length and the info I want is always in the same position, it seemed I could use a function like sub, substr or substring. Even though these functions are listed in the Delphi help, none of them work. The compiler thinks sub(stringname,12,11), SUB(stringname,12,11), substr(stringname,12,11), Substr(stringname,12,11), SUBSTR(stringname,12,11), substring(stringname,12,11), SUBSTRING(stringname,12,11) etc. are IDENTIFIERS and not functions.
Is there a working function that will extract part of a string? What is it called? I've spent the better part of a day on this and I'm really getting sick of it.
Thank you
Is there a working function that will extract part of a string? What is it called? I've spent the better part of a day on this and I'm really getting sick of it.
Thank you