Re: Punctuation Game Community Center Geeks' Lounge by Gerryx1 Punctuation is not always easy, in long senences especially. Take the …, ir is better to underdo, than overdo, punctuation. Here is one example where, without punctuation, there is no meaning to what is… written; see if you can fix it with punctuation. "It was and I said not I Re: Punctuation Game Community Center Geeks' Lounge by Gerryx1 …=Ancient Dragon;816300]The only people who must know proper punctuation are those that write text books that teach English grammer… can still make another meaning out of it, with different punctuation. Another version is much the same except a different word… Re: Punctuation Game Community Center Geeks' Lounge by Gerryx1 [QUOTE=Ancient Dragon;816652]That makes no sense at all.[/QUOTE] I know, in its present form, yes, but it is one of the best examples of how important punctuation can be. With the proper placement of two punctuation marks, it becomes a perfectly understandable sencence. I won't spoil the fun by showing the answer. Re: Punctuation Game Community Center Geeks' Lounge by Gerryx1 … impossiple to fix this term or phrase by means of punctuation. What "Four yards worth" means is: four yards… Re: Punctuation Game Community Center Geeks' Lounge by Gerryx1 Yea, punctuation is difficult at the best of times but, if the … Re: Punctuation Game Community Center Geeks' Lounge by Ancient Dragon The only people who must know proper punctuation are those that write text books that teach English grammer. For the rest of us normal people, we can get along quite nicely with a few grammer mistakes. I only use commas where it makes sence to me. "It was, and I said, not I" still doesn't make much sense with or without commas. Re: Punctuation Game Community Center Geeks' Lounge by Gerryx1 … the following into a proper sentence by the use of punctuation: It was and I said not but Don't change… Re: Punctuation Game Community Center Geeks' Lounge by Gerryx1 [QUOTE=Ancient Dragon;816652]That makes no sense at all.[/QUOTE] The finished version of the puzzle: Using punctuation make a proper sencence out this: It was and I said not but Here it is: It was and I said, not but. Removing punctuation from string issue Programming Software Development by randrum1707 …of the code that I'm using to remove the punctuation from the string (string1 being the string). [CODE…string1.erase(i,1); } [/CODE] It is removing punctuation perfectly fine and leaving behind no whitespace (which is what… of input," said I, "and some punctuation remains." Output: This is a sample of input… Re: Removing punctuation from string issue Programming Software Development by randrum1707 Nevermind, I figured it out! When I delete the punctuation mark it moves the next character in the string to the current position and then i++ increased it to the next one (thereby skipping punctuation). I fixed it by changing the if statement to while. Re: Program to read a line and count occurence of each letter and punctuation Programming Software Development by Demonoid2008 …Program description: Counts number of English alphabet letters and punctuation INCLUDE Irvine32.inc INCLUDE Macros.inc .data mPutchar MACRO …a sentence to see the number of alphabet letters and punctuation",0dh,0ah> ;input prompt mov edx,…je MAT ;traversing A-Z,a-z and ':' punctuation inc al call Crlf loop L1 mov count,0 … Re: Program to read a line and count occurence of each letter and punctuation Programming Software Development by Demonoid2008 … description: Counts number of English alphabet letters and punctuation INCLUDE Irvine32.inc INCLUDE Macros.inc .data sen BYTE… sentence to see the number of alphabet letters and punctuation ':'",0dh,0ah> ;input prompt mov edx…mov eax,cz call WriteDec call Crlf mWrite<"Punctuation ':''s : "> mov eax,cpunc call … Take out punctuation from a string and print it. Programming Software Development by pythonn00b … a string from the user, and prints all of the punctuation characters appearing in the string, in order from left to… right. My coding I have so far is: def punctuation(): a = raw_input("Please enter a string:") check = ['!', ',', '.', ':', '?', ';'] for… Re: Getting rid of punctuation Programming Software Development by restrictment … here do we know, ok we've got a non-punctuation character and can increment the j counter? Where can we… would increment when we were sure of having a non-punctuation character to copy in. Again, say we have [i |j… the previous page, which kept giving me a '-' where the punctuation should be. This is still doing that. The only difference… Re: Java Split Text by Spaces and Punctuation Programming Software Development by ~s.o.s~ … or more occurrences of either a whitespace or punctuation". The important part here is to make…t take into consideration punctuations and whitespaces, but rather punctuation followed by whitespaces. If you have a 'this…the matching requirement; your pattern read "match any punctuation *followed* by zero or more whitespace characters"… Removing punctuation from a string Programming Software Development by LanierWexford Is there a function to remove punctuation from a string, or check to see if a char …, but I can not see how to get around the punctuation for part 2. Thanx in advance Lanier Re: Removing punctuation from a string Programming Software Development by Ancient Dragon To remove punctuation you will normally have to rewrite the entire string to avoid the many problems with modifying string literals passed to the function. Just iterate through the string one character at a time and copy the character to the new string only if it is not a punctuation character. Program to read a line and count occurence of each letter and punctuation Programming Software Development by Demonoid2008 … alphabet letters in it and the number of any one punctuation. i figured out how to go through the list of… a sentence to see the number of alphabet letters and punctuation",0dh,0ah> mReadString sen call Crlf mWrite<… Exclusion of punctuation marks Programming Software Development by sagz … than once, however I have discovered that my program reads punctuation marks and includes them as part of a word. Example…"]final statement[/COLOR] How would I go about ignoring punctuation marks? Does it have anything to do with <cctype… Getting rid of punctuation Programming Software Development by restrictment … was looking around for a way to get rid of punctuation from a character array. I looked through the web a… is: is there a simple way to get rid of punctuation using character arrays? Also, in case you are interested, my… Re: Getting rid of punctuation Programming Software Development by restrictment … through it. I want it to get rid of the punctuation completely though, and not leave a 'space' in it's…; str; return 0; } [/code] so it gets rid of the punctuation, but a space takes it's place. I also tested… Re: Getting rid of punctuation Programming Software Development by WaltP … into another string in a loop. Don't copy the punctuation. Harder way: Set up two indices, one ([I]indOrig[/I…[/I] position. 2) increment [I]indNew[/I] for every non-punctuation character. 3) increment [I]indOrig[/I] for every character. Be… Re: Getting rid of punctuation Programming Software Development by WaltP … removing characters so the indices will not be identical once punctuation is found.[/QUOTE] What is an index value? What are…? Pertaining to the program you wrote, how did you 'remove punctuation'? Anything else you can explain? I'm asking because in… Re: Getting rid of punctuation Programming Software Development by jonsca … here do we know, ok we've got a non-punctuation character and can increment the j counter? Where can we… would increment when we were sure of having a non-punctuation character to copy in. Again, say we have [i |j… Count digits and punctuation from a text file. Programming Software Development by bbrradd … easily.,but i also need to count the digits and punctuation marks in the file.For some reason i cant get…; << digits << endl; cout << "Punctuation count: "<< punct << endl; return 0… C++ Programming, counting how many times, remove punctuation, and sort alphabetically Programming Software Development by zozanthonyzoz …, I need to have a program to word count remove punctuation and sort it in alphabetical order. I had done the… word count portion but i am lost in removing punctuation and sorting in alphabetical order portion. Hoping to get some… Java Split Text by Spaces and Punctuation Programming Software Development by michelleradu … split a text into words using both spaces and punctuation as delimiters. Punctuation includes characters like .,!?:;'"- I am using the split… Re: Take out punctuation from a string and print it. Programming Software Development by snippsat … >>> string.ascii_letters 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' >>> string.punctuation '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~' >>> [/CODE] In… stuck trying to remove spaces and punctuation Programming Software Development by ashley.vanhoesen.7 I need to remove the spaces and punctuation from the original string and the reverse string, then put … reads the same forward and backward; * however, all spaces and punctuation are ignored. * @return isPalindrome - true if phrase is a palindrome… Re: Help with detecting capital letters and punctuation Programming Software Development by JOSheaIV … move the first character to right before the first found punctuation, and of course lowercase it. Now the new first …ay" to the string, again right before the first punctuation. Are we always working with one word here? Or could…a sentence (I ask because how would that relate to punctuation if that's the case). Also, what if the first…