enquoteFunctorIfNecessary

Wraps the provided string within single quotes, but only if it is not well-formed. Well-formed check is performed via the isWellFormedFunctor method.

Return

either a new String, beginning and ending with ', or string

Parameters

string

the String to be enquoted