There could be times when you need to split comma-separated values in a string and get a value at certain position. Obviously this could be done with explode in PHP or split in Perl using server-side script but what if you need to do it directly in MySQL.