Added a leading whitespace strip function