delphi 用哪个函数可以丛一个字符串中 右取 一个字符 )(象vb的 ri

2025-04-23 20:31:45
推荐回答(1个)
回答1:

呵呵,我的机子上有这么一个函数。uses DUtils;// Left N characterfunction LeftStr(const S: String; n: Integer): String;// Right N characterfunction RightStr(const S: String; n: Integer): String;// Get a SubStrfunction SubStr(const S: String; Start, Len: Integer): String;