Implement str.lstrip and str.rstrip