Need to write a function that adjusts words in a string array

From: Rick (rfriele_at_NOSPAMcox.net)
Date: 11/25/03


Date: Mon, 24 Nov 2003 15:23:46 -0800

I have a program that reads from a file. In the file are a series of
words. I read in all the words into a string array, find the average
length, count the number of words, display the longest word and how long
it is, and display the smallest word and how long it is. All that is
working fine, but what I need to do it format certain words that contain
a period at the end of them (ex: a word at the end of a sentence), words
with quotes around them, exclamation points, etc. If a word has one of
these characters anywhere but the beginning or end it is ok. Also, say
you have this word: one." It needs to be changed to: one

The word: don't is ok because the "'" isn't at the beginning or end.



Relevant Pages

  • gforth: SDL/OpenGL Graphics Part VIII
    ... There are times when all you need is the simple 8x8 font that we had ... want to use the original PC font text line characters. ... TTFs to the display are too much when you just want to "do it". ... sets the cursor x coordinate. ...
    (comp.lang.forth)
  • Re: Using Kermit-95 to emulate a VT320
    ... as Bill G. pointed out. ... The display of non- ... printable characters is dubious. ... do it the same way so basing a production system on a particular behavior ...
    (comp.os.vms)
  • IMPROVING PASSORD SECURITY ON COMPUTER SYSTEMS
    ... Instead using 'fixed characters' ... Alice will type '1332' as password on this transaction, ... a different path to build the password on checkerboard. ... it is better to display N different characters on checkerboard. ...
    (comp.security.unix)
  • Re: [OT] [XP] ISO 8859/1 Code Page for DOS window?
    ... *** I can't say because I don't use Windows anymore. ... If you were to implement certain codes, your keyboard ... would display different characters for certain key presses. ...
    (comp.os.msdos.misc)
  • IMPROVING PASSORD SECURITY ON COMPUTER SYSTEMS
    ... Instead using 'fixed characters' ... Alice will type '1332' as password on this transaction, ... a different path to build the password on checkerboard. ... it is better to display N different characters on checkerboard. ...
    (comp.security.misc)