![Custom Function returns NULL value when run in Field Calculator (Preview works fine) · Issue #41695 · qgis/QGIS · GitHub Custom Function returns NULL value when run in Field Calculator (Preview works fine) · Issue #41695 · qgis/QGIS · GitHub](https://user-images.githubusercontent.com/16478283/108544391-0b768900-72ef-11eb-887a-3b73aa12a7f9.png)
Custom Function returns NULL value when run in Field Calculator (Preview works fine) · Issue #41695 · qgis/QGIS · GitHub
![field calculator - Adding text to end of existing value in QGIS - Geographic Information Systems Stack Exchange field calculator - Adding text to end of existing value in QGIS - Geographic Information Systems Stack Exchange](https://i.stack.imgur.com/Xszgc.png)
field calculator - Adding text to end of existing value in QGIS - Geographic Information Systems Stack Exchange
![attribute table - Extracting part of string from field in QGIS Field Calculator? - Geographic Information Systems Stack Exchange attribute table - Extracting part of string from field in QGIS Field Calculator? - Geographic Information Systems Stack Exchange](https://i.stack.imgur.com/bzB1E.png)
attribute table - Extracting part of string from field in QGIS Field Calculator? - Geographic Information Systems Stack Exchange
![field calculator - Adding text to end of existing value in QGIS - Geographic Information Systems Stack Exchange field calculator - Adding text to end of existing value in QGIS - Geographic Information Systems Stack Exchange](https://i.stack.imgur.com/ijUxX.png)
field calculator - Adding text to end of existing value in QGIS - Geographic Information Systems Stack Exchange
![Custom Function returns NULL value when run in Field Calculator (Preview works fine) · Issue #41695 · qgis/QGIS · GitHub Custom Function returns NULL value when run in Field Calculator (Preview works fine) · Issue #41695 · qgis/QGIS · GitHub](https://user-images.githubusercontent.com/7983394/108952929-9eeee780-766a-11eb-9ce5-219f035cdc53.gif)