Added more methods for str module