14 lines
256 B
Swift
14 lines
256 B
Swift
|
/**
|
||
|
* Splash
|
||
|
* Copyright (c) John Sundell 2018
|
||
|
* MIT license - see LICENSE.md
|
||
|
*/
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
internal extension String {
|
||
|
func removing(_ substring: String) -> String {
|
||
|
return replacingOccurrences(of: substring, with: "")
|
||
|
}
|
||
|
}
|