Skip to content

Instantly share code, notes, and snippets.

@kdabir
Created February 27, 2012 10:56
Show Gist options
  • Save kdabir/1923077 to your computer and use it in GitHub Desktop.
Save kdabir/1923077 to your computer and use it in GitHub Desktop.
Split delimited String in groovy
println "something|delimited".split("[|]")
println "something,delimited".split("[,]")
println "something#delimited".split("[#]")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment