DocHub is an all-in-one PDF editor that enables you to erase exclamation in raw, and much more. You can underline, blackout, or erase paperwork components, add text and images where you need them, and collect data and signatures. And since it runs on any web browser, you won’t need to update your hardware to access its powerful capabilities, saving you money. When you have DocHub, a web browser is all it takes to manage your raw.
Sign in to our website and follow these guidelines:
It couldn't be simpler! Streamline your document management now with DocHub!
uh today we are dealing with the serious exclamation mark series what we have to do is to remove an exclamation mark from the end of a string now to go about that but first of all letamp;#39;s print the string and the last character accessible by square brackets and putting in -1 because we are dealing with less character thatamp;#39;s something that we have to check out as you can see the last character is a good docHub use what condition do I mean well the following the last character should be equal or double equal sign to an exclamation mark now thatamp;#39;s a typo it should be an exclamation mark another one yeah okay if the condition is met then we do the following colon we return the string but sliced again we use the square brackets colon -1 to print out all the characters from the start till the end except the last character thatamp;#39;s the exclamation mark that we donamp;#39;t have to return um and then we can catch the other cases with no statement else colon we