title: Reverse word letters in a sentence java
body: <p>For my program I want to reverse letters in a line of text. However I don't want to reverse the order of the words in the sentence. 
  For example when I input: "This is a string"   </p>
  
  <p>I get: gnirts a si siht  </p>
  
  <p>But I want: siht si a gnirts </p>
  
  <pre><code>public static String reverseWordCharacters(String text1) {
          String reverse = "";
          int length = text1.length();
          for (int i = length - 1; i &gt;= 0; i--) {
              reverse = reverse + text1.charAt(i);
              System.out.println();
          }
          return reverse;
      }
  
  }
  </code></pre>