Declaration

func replaceOccurrences(
    of target: String,
    with replacement: String
) -> UInt

Declaration

- (NSUInteger) replaceOccurrencesOfString:(NSString *) target
                               withString:(NSString *) replacement;

Declaration

replaceOccurrencesOfString_withString_(
    target: str,
    replacement: str
) -> int