Re: initialize and modify a string at the same time

2010-02-18 Thread Paul Johnson
On Wed, Feb 17, 2010 at 02:41:27PM -0800, jbl wrote: > (sorry if there is a duplication, I tried posting this with my > newsgroup client and it has never showed up) > > I need three versions of a string ($city) > (In case EAST BANK is entered) > > (1) capitol first (cowboy case)

initialize and modify a string at the same time

2010-02-18 Thread jbl
(sorry if there is a duplication, I tried posting this with my newsgroup client and it has never showed up) I need three versions of a string ($city) (In case EAST BANK is entered) (1) capitol first (cowboy case)East Bank (2) Any spaces present changed to undersccore