title: How to align newline in java?
body: <p>Is there any way to align the very long text?</p>
  
  <p>For example of this code:</p>
  
  <pre><code>System.out.println("\tHi this is a very long string to test the automated newline but I want to have the newline to be tab indented too.");
  </code></pre>
  
  <p>Instead of having below</p>
  
  <pre><code>    Hi this is a very long string to test the automated newline but I want to 
  have the newline to be tab indented too.
  </code></pre>
  
  <p>I want this</p>
  
  <pre><code>    Hi this is a very long string to test the automated newline but I want to 
      have the newline to be tab indented too.
  </code></pre>
  
  <p>So, I want the newline to be aligned with the first sentence. Is there any library exist out there or default String Java method?</p>