############################################################
create table test
(
id int,
info varchar(255)
);
insert into test values(1,'abc中国123');
insert into test values(1,'abc123韩国');
insert into test values(1,'日本abc中国123');
insert into test values(1,'还有吗');
############################################################
drop FUNCTION getinfo;
CREATE FUNCTION getinfo(in_string VARCHAR(255))
RETURNS VARCHAR(255)
BEGIN
DECLARE l_new_string VARCHAR(255);
DECLARE char_str1 varchar(255);
DECLARE char_str2 varchar(255);
DECLARE STR_LEN int;
DECLARE i int;
set char_str1='';
set STR_LEN=CHAR_LENGT
create table test
(
id int,
info varchar(255)
);
insert into test values(1,'abc中国123');
insert into test values(1,'abc123韩国');
insert into test values(1,'日本abc中国123');
insert into test values(1,'还有吗');
############################################################
drop FUNCTION getinfo;
CREATE FUNCTION getinfo(in_string VARCHAR(255))
RETURNS VARCHAR(255)
BEGIN
DECLARE l_new_string VARCHAR(255);
DECLARE char_str1 varchar(255);
DECLARE char_str2 varchar(255);
DECLARE STR_LEN int;
DECLARE i int;
set char_str1='';
set STR_LEN=CHAR_LENGT