http://www.perlmonks.org?node_id=758813


in reply to Matching first Letters of two words

Yes it is.

Please have a look at substr and Equality Operators.

  • Comment on Re: Matching first Letters of two words

Replies are listed 'Best First'.
Re^2: Matching first Letters of two words
by johngg (Canon) on Apr 20, 2009 at 22:06 UTC

    Since the requirement mentioned ignoring case, pointers to lc and uc might also be helpful given your approach.

    Cheers,

    JohnGG