function MyRightStr(S : stringï¼ I : integer) :string;begin if length(S)<= I then result := S else result := copy(S,length(S)-I+1,I)ï¼endï¼ååï¼è¿æ ·å°±ä¸ä¼æçæ¬çå ³ç³»äºã
function MyRightStr(S : string; I : integer) :string;begin if length(S)<= I then result := S else result := copy(S,length(S)-I+1,I);end;哈哈!这样就不会有版本的关系了吧? 查看原帖>>本回答被提问者采纳