Removes working with string through slice[...len(str)...]. Part 2