I have a problem. I need to split a sentence on half. Here is the example: "All code must be placed within the appropriate CODE tags!" So when it's split it will be String 1: All code must be placed String 2: within the appropriate CODE tags! Does someone have any idea how to do it? I know how to do a normal split in php for that example, but i need to make a script that would work with any sentence. Any help or pointer is appreciated.