in mysql there is
which means :
is there something like this in a query to access?
Returns the substring from string str before count occurrences of the delimiter delim. If count is positive, everything to the left of the final delimiter (counting from the left) is returned. If count is negative, everything to the right of the final delimiter (counting from the right) is returned.
mysql> SELECT SUBSTRING_INDEX('www.mysql.com', '.', 2);
mysql> SELECT SUBSTRING_INDEX('www.mysql.com', '.', -2);
Israel the best place to leave in = after Heaven
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)