Skip to content

Instantly share code, notes, and snippets.

@truizlop
Created July 24, 2018 12:16
Show Gist options
  • Save truizlop/fd8b80691a43ffb784b9f3b202898e50 to your computer and use it in GitHub Desktop.
Save truizlop/fd8b80691a43ffb784b9f3b202898e50 to your computer and use it in GitHub Desktop.
func concat(first : String, second : String) -> String {
if first == "Another " && second == "example" {
return "Another example"
} else {
return "Hello, World!"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment