10 Replies Latest reply on Dec 22, 2009 8:47 AM by 843789

    Match first word in a String

    843789
      I'm writing a program to reorganize some music. And I have a special case where bands that begin with 'The' need to be organized differently. So I'm writing a method to rename the music directories, but I am having trouble figuring out how to determine if the artist name begins with 'The'. Can someone point me in the right direction as to which java tool would help me in determining this case. The artist names are being passed in as Strings. TIA.

      Edited by: prem1ers on Dec 21, 2009 7:27 PM