function Copy(S; Index, Count: Integer): string;
解决方案 »
- 求播放MKV(并且能声道切换)的代码
- delphi 2010 idhttp使用TIdMultiPartFormDataStream post 中文问号
- 请问abstract error是什么错误?
- 在ehlib4.1.4版本。在Broland Developer 2006中的问题
- 在一个form里,不能使用另一个form里的组件吗?
- automation服务器不能创建对象??
- 看到一段叹息!转贴过来大家看看~~
- 送100分:) 请教Cell控件的键盘响应方法
- 如何将QUERY查询出来的值输出到TXT或XLS,最好提供简单的例子
- 如何在delphi中打开指定的word文档!并判断如果系统装有word 则提示word 未安装,否则打开指定word文档!谢谢..
- 如何实现应用程序的多语言版本
- 高手请进!报表问题
function Copy(S; Index, Count: Integer): string;
如str1:='delphi5.0';
str2:=copy(str1,1,3);//str2的内容为del
str2:=copy(str1,2,3);//str2.内容为elp
OK?
function Copy(S; Index, Count: Integer): string;
index 为字符在串S中的位置号,Count为从Index开始后要截取的长度
如str1:='delphi5.0';
str2:=copy(str1,1,3);//str2的内容为del
str2:=copy(str1,2,3);//str2.内容为elp
OK?
定义一个类型为String[2]的变量,以此为中介传递数据