in reply to Re: Matching First Character of Strings Efficiently
in thread Matching First Character of Strings Efficiently

NetWallah,
Actually it is not the same. You are checking to see if string b starts with the entire string a. This would not meet the criteria of only checking first letters. Besides, changing the looping construct was not permitted.

Cheers - L~R

  • Comment on Re: Re: Matching First Character of Strings Efficiently