Skip to content

Instantly share code, notes, and snippets.

@mattisebastian
Created August 14, 2015 05:15
Show Gist options
  • Save mattisebastian/1a083013727ed7b548ec to your computer and use it in GitHub Desktop.
Save mattisebastian/1a083013727ed7b548ec to your computer and use it in GitHub Desktop.
def firstTwoLetters(str)
return str[0,2]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment