select substring_index(str, delim, count);
Select substring_index('www.lidihuo.com','.',3);
Select substring_index('www.lidihuo.com','.',2);
Select substring_index('www.lidihuo.com','.',1);
Select substring_index('www.lidihuo.com','.',-1);
Select substring_index('www.lidihuo.com','.',-2);