database - How to replace last occurrence of a substring in MYSQL? -
How can I change the last occurrence of a substrings with an empty string in MYSQL? MYSQL
String: "American Corp National Corp" Search String: "Corp" Expected Output: "American Corp National" Can someone suggest? Try: ()
reverse (concat (left (reverse 'American Corp National Corp'), Instar (Reverse ('American Corp National Corp'), Reverse ('Corp') - 1), Upstroke (Reverse ('American Corp National Corp'), Instar (Reverse (American Corp Result ('corp')) + Length ('corp')) Results
Comments
Post a Comment