python get last 4 characters of a string?Advertisement
I have the following string : "aaaabbbb" How can i get the last 4 characters and store them in a string using python? Thanks, - read more
I'm trying to remove the last 3 characters from a string in python, I don't know what these characters are so I can't use rstrip, I also need to remove any white space and convert to upper-case an - read more
Please vote if the answer you were given helped you or not, thats the best way to improve our algorithm. You can also submit an answer or check other resources.