Sogcelak,

In case you are wondering where your post went, I've moved it to the general programming forum with the title 'String handling issue with Free Pascal'.