title: How to cut a string to some desired number in delphi?
body: <p>I have a database column which can take only 40 characters of a string. So when the length of string is greater than 40 characters, its giving me error. How can I cut/trim the string to 40 characters in delphi?</p>