Multiline Python String Manipulation Functions