Returns any whitespace that needs to be added before the string to preserve proper spacing and punctuation when the string replaces the characters in the specified range.
- macOS 10.0+
The string that is replacing the characters in
The range of characters which
Any whitespace that needs to be added before
a to preserve proper spacing and punctuation when the characters in
char are replaced by
nil or if smart insertion and deletion are disabled, this method returns
Don’t invoke this method directly. Instead, use
smart, which calls this method as part of its implementation.