Skip to content

Instantly share code, notes, and snippets.

@Serubin
Created February 1, 2012 16:28
Show Gist options
  • Save Serubin/1717869 to your computer and use it in GitHub Desktop.
Save Serubin/1717869 to your computer and use it in GitHub Desktop.
public String reasonArgs(String[] args) {
StringBuilder reason = new StringBuilder();
// combine args into a string
for (String s: args) {
reason.append(" " + s);
}
// return string
return reason.toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment