because they don't work
Creating a function inside a string receiver is limited
Please elaborate what you are trying to do and provide an example text string
Btw it does not help very much to set a boolean value to itself. You should set it to true or false.
And next time before taking a screenshot please set the language to English
Taifun