let path = "report.pdf" print(path.contains(".")) print(path.hasPrefix("report")) print(path.hasSuffix(".pdf"))
contains, hasPrefix, hasSuffix