Skip to content

Instantly share code, notes, and snippets.

@DropSnorz
Last active April 16, 2018 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DropSnorz/b8d8629878ab80508e1c394740399456 to your computer and use it in GitHub Desktop.
Save DropSnorz/b8d8629878ab80508e1c394740399456 to your computer and use it in GitHub Desktop.
Messages must have 50 chars, not less, not more
public String getMessage(String message){
String mess = (message+" ").substring(0, 50);
return mess;
}
@routonmh
Copy link

I would love to know why you made this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment