fork download
  1. def name1 = ' \"Hello\" world'
  2. def name2 = 'Hello\
  3. testing.\
  4. world'
  5.  
  6. def ch = [ 't','e','s','t' ] as char[]
  7.  
  8. if(String.valueof(ch) == "test")
  9. {
  10. println " Cequal "
  11. }
  12.  
  13.  
  14. def test = "testing"
  15.  
  16. println test - "est"
  17.  
  18. if("hi $name2" == "hi Hello world")
  19. {
  20. println "equal"
  21. }
  22. else
  23. {
  24. println "not equal" + name1 + " " + name2
  25. }
Runtime error #stdin #stdout 1.01s 217024KB
stdin
Standard input is empty
stdout
Standard output is empty