I have a string that needs to be 1500 bytes or less. If I have a string that is in excess of 1500 bytes, is there an easy way to trim it down to a maximum of 1500 bytes?