Created
March 15, 2021 16:00
-
-
Save pawiromitchel/203dfe34ab0f5e82fe484c3233410dcd to your computer and use it in GitHub Desktop.
Replace in mysql function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DEFINER=`root`@`%` FUNCTION `REPLACE_SYMBOLS_WITH_TEXT`(field text) RETURNS text CHARSET utf8mb4 | |
RETURN REPLACE(REPLACE(field, '!', '[uitroepteken]'), '#', '[hashtag]') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment