IPB

> Copy (function)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 Copy (function)


Returns a substring of a string.

Declaration

 function Copy(S: String; Index: Integer; Count: Integer): String;

Target

Windows, Real, Protected

Remarks

S is a string-type expression. Index and Count are integer-type expressions. Copy returns a string containing Count characters starting with the Indexth character in S.

If Index is larger than the length of S, Copy returns an empty string. If Count specifies more characters than remain starting at the Indexth position, only the remainder of the string is returned.

See Also

Sample Code

 
 К началу страницы 
Тэги: Copy
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"