Skip to content

Instantly share code, notes, and snippets.

Created August 26, 2012 12:40
Show Gist options
  • Save anonymous/3478622 to your computer and use it in GitHub Desktop.
Save anonymous/3478622 to your computer and use it in GitHub Desktop.
+ beforeCharset: for (offset = 0; offset < param.length(); offset++) {
+ c = param.charAt(offset);
+ switch (c) {
+ case ' ':
+ case '\t':
+ case '\n':
+ case '\u000C':
+ case '\r':
+ continue;
+ case 'c':
+ case 'C':
+ break beforeCharset;
+ default:
+ }
+ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment