fork(86) download
  1. /* package whatever; // don't place package name! */
  2.  
  3. /* The class name doesn't have to be Main, as long as the class is not public. */
  4. class Main
  5. {
  6. public static void main (String[] args) throws java.lang.Exception
  7. {
  8. String ss ="# STRING_VALUES #";
  9. String[] parts = ss.split("#");
  10. System.out.println(parts[1].trim());
  11. }
  12. }
Success #stdin #stdout 0.03s 245632KB
stdin
Standard input is empty
stdout
STRING_VALUES