Write a Swift program to return the first half of a given string of even length
Introduction I have used Swift for windows 1.9 for debugging purpose. But you can use any Swift programming language compiler as per your availability. func first_half_str(_ input: String) -> String { let chars = input.characters let f ...