Probably a dumb s/// question.

From: Mark Healey (die_at_spammer.die)
Date: 03/16/05


Date: Wed, 16 Mar 2005 16:14:48 GMT

I'm trying to craft a search that capitalizes letters depending on their
context, specifically after a space or the beginning of a string.

For example I'd like to turn

the quick brown fox jumped over the lazy dogs.

to

The Quick Brown Fox Jumped Over the Lazy Dogs.

Is this doable on a single line?

-- 
Mark Healey
marknews(at)healeyonline(dot)com


Relevant Pages

  • Probably a dumb s/// question.
    ... I'm trying to craft a search that capitalizes letters depending on their ... context, specifically after a space or the beginning of a string. ... the quick brown fox jumped over the lazy dogs. ...
    (comp.lang.perl.misc)
  • Re: Probably a dumb s/// question.
    ... > I'm trying to craft a search that capitalizes letters depending on their ... > context, specifically after a space or the beginning of a string. ... > the quick brown fox jumped over the lazy dogs. ...
    (comp.lang.perl.misc)
  • Re: Probably a dumb s/// question.
    ... > context, specifically after a space or the beginning of a string. ... > the quick brown fox jumped over the lazy dogs. ... Always check CPAN first. ...
    (comp.lang.perl.misc)
  • Re: Probably a dumb s/// question.
    ... > I'm trying to craft a search that capitalizes letters depending on ... > context, specifically after a space or the beginning of a string. ... > the quick brown fox jumped over the lazy dogs. ...
    (comp.lang.perl.misc)
  • Re: Probably a dumb s/// question.
    ... > I'm trying to craft a search that capitalizes letters depending on ... > context, specifically after a space or the beginning of a string. ... > the quick brown fox jumped over the lazy dogs. ...
    (comp.lang.perl)