delphi取子字符串的函数是什么啊?!
查了半天帮助都没找到
:((
查了半天帮助都没找到
:((
解决方案 »
- 问几句语句的意思:希望好心人帮忙..谢谢
- 弹出式菜单为什么不是跟着鼠标?
- 如何分行显示dbgrid的列标题?
- 休息够了,来上海混混
- 图片在程序页面如何充满?
- 谁有DynamicSkinForm3.99呀,在线等候!高分求购!!!!!
- 文件加锁是如何实现的
- 为什么用SHELLEXECUTE打开PDF文件后却马上消失,请指点一下~!
- C#的推出对Delphi的前途有何影响?Delphi下一版本会不会支持.net?Borland如何应对?
- 如何获得RES(资源文件)的文件数和每个文件的字节数??
- 如何捕足ADOConnection连不上的异常,thank you .
- 谁知道在together怎么表示N元关联?
Returns a substring of a string or a segment of a dynamic array.UnitSystemCategorystring handling routinesfunction Copy(S; Index, Count: Integer): string;
function Copy(S; Index, Count: Integer): array;DescriptionS is an expression of a string or dynamic-array type. Index and Count are integer-type expressions. Copy returns a substring or sub array containing Count characters or elements starting at S[Index]. If Index is larger than the length of S, Copy returns an empty string or array.If Count specifies more characters or array elements than are available, only the characters or elements from S[Index] to the end of S are returned.Note: When S is a dynamic array, Copy can only be used as a parameter in a call to a procedure or function that expects an array parameter. That is, it acts like the Slice function when working with dynamic arrays.
b := Copy(a, 1, 2);