aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Extensions/String+Arrays.swift
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--WireGuard/Extensions/String+Arrays.swift20
1 files changed, 0 insertions, 20 deletions
diff --git a/WireGuard/Extensions/String+Arrays.swift b/WireGuard/Extensions/String+Arrays.swift
deleted file mode 100644
index b142202..0000000
--- a/WireGuard/Extensions/String+Arrays.swift
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-// Copyright © 2018 WireGuard LLC. All rights reserved.
-//
-
-import Foundation
-
-extension String {
-
- static func commaSeparatedStringFrom(elements: [String]) -> String {
- return elements.joined(separator: ",")
- }
-
- func commaSeparatedToArray() -> [String] {
- return components(separatedBy: .whitespaces)
- .joined()
- .split(separator: ",")
- .map(String.init)
- }
-
-}