Just a quick question:
I have a string e.g.
and I need a function that when called will truncate it shorter (gets rid of the end) or increase the length (fills the end with NULL).
Please can someone give me an example of how to do this. Thanks.