content varchar(255);
need_content varchar(255);
position int;position:=instr(content,chr(92));
--回车符第1次出现的位置; 回车符在ascii中对应值为92
need_content:=substr(content,n,(position-n));
need_content varchar(255);
position int;position:=instr(content,chr(92));
--回车符第1次出现的位置; 回车符在ascii中对应值为92
need_content:=substr(content,n,(position-n));
从 char 中从位置 startpos 开始的 occurrence 次出现的位置.