title: Finding/Printing out specific words starting with a specific letter
body: <p>Here is the main:</p>
  
  <pre><code>public class MiscStringOperationsDriver
  {
      public static void main(String[] args)
      {
              // Test the wordCount method
              int numWords = MiscStringOperations.wordCount("There are five words here.");
              System.out.printf("Number of words: %d\n\n", numWords);
  
              // Test the arrayToString method
              char[] letters = {'a', 'b', 'c', 'd', 'e', 'f', 'g'};
              String lettersToString = MiscStringOperations.arrayToString(letters);
              System.out.printf("The string is: %s\n\n", lettersToString);
  
              // Test the mostFrequent method
              char mostFrequentChar = MiscStringOperations.mostFrequent("aababbcddaa");
              System.out.printf("The most-frequent character is: %c\n\n", mostFrequentChar);
  
              // Test the beginWithB method
              String wordList = MiscStringOperations.beginWithB(
                              "Batman enjoyed some blueberries and a bacon burger in the Batmobile.");
              System.out.printf("The list of words is: %s\n\n", wordList);
      }
  }
  </code></pre>
  
  <p>All of the methods are in another class. I am struggling with last method which is the beginWithB method. I have everything else working. Here's what I have so far for this method:</p>
  
  <pre><code> public static String beginWithB(String wordlist) {
      String myStr = wordlist;
      for(String b: myStr.split(" ")){
          if(b.startsWith("b")||b.startsWith("B")){
              System.out.print(b);
          }   
      }
  </code></pre>
  
  <p>I am struggling to find a way to return the words that start with a "b" or "B" to the main. Any ideas? (And yes, I have to do it this way).</p>