String
public extension String
-
Replaces all occurences of an array of strings with the provided replacement string.
Complexity
O(n) where n is the number of strings in the
charactersarray.Declaration
Swift
func replacingOccurences(of characters: [String], with replacement: String) -> StringParameters
charactersThe group of characters values that are to be resolved.
replacementThe character that is to be used as the replacement for the given character set.
Return Value
A string value that contains all the occurences of a character set with another character.
-
The current app version for the running application.
Declaration
Swift
static var appVersion: String? { get } -
The current build number for the running application.
Declaration
Swift
static var buildNumber: String? { get } -
Parses this string into a dicrionary of values
Declaration
Swift
var dictionaryRepresentation: [String : Any]? { get }
String Extension Reference