These 4 strings get allocated and assigned every time function is called, but they are basically constants, correct? You might be able to use, for example, ``ExtensionString(NSDeleteCharacter)`` so the compiler generates the constant, otherwise, these should be defined outside of this function as constants.