I have a string and want to check if there is a specific suffix.
// String literal var a = "Hello World!" // Check if there is a specific Suffix if a.hasSuffix("World!") { print("Yes, there is") } else { print("Error!") }
* Please let us know about anything: issues/feature request/suggestions......And we'll do our best to get back to you asap! :)
Or just post your issue on iSwift's Official Issue Tracker