Removing Punctuation marks? leading/ending Punct.
I'm supposed to write a function that removes leading and ending punctuation.
Like --
Because,
"Ideally"
(Banana)
output should be
But not words like --
Don't
Won't
Can someone give me a clue? I've read other people who posted similar questions but I don't know what an iterator is (Reading about it now)
Topic archived. No new replies allowed.