Skip to content

Commit 1baaac8

Browse files
committed
[Swift 4] Update Brute Force String Search
1 parent 7077bc1 commit 1baaac8

File tree

1 file changed

+5
-0
lines changed
  • Brute-Force String Search/BruteForceStringSearch.playground

1 file changed

+5
-0
lines changed

Brute-Force String Search/BruteForceStringSearch.playground/Contents.swift

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//: Playground - noun: a place where people can play
22

3+
// last checked with Xcode 9.0b4
4+
#if swift(>=4.0)
5+
print("Hello, Swift 4!")
6+
#endif
7+
38
extension String {
49
func indexOf(_ pattern: String) -> String.Index? {
510

0 commit comments

Comments
 (0)