Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » Прикладное программирование » Вопросы по Delphi 2

Модерирует : ShIvADeSt

ShIvADeSt (22-03-2007 02:18): http://forum.ru-board.com/topic.cgi?forum=33&topic=8142  Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

   

vserd

Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору


Цитата:
Returns the index value of the first character in a specified substring that occurs in a given string.
 
Unit
 
System
 
Category
 
string handling routines
 
function Pos(Substr: string; S: string): Integer;
 
Description
 
Pos searches for a substring, Substr, in a string, S. Substr and S are string-type expressions.
 
Pos searches for Substr within S and returns an integer value that is the index of the first character of Substr within S. Pos is case-sensitive. If Substr is not found, Pos returns zero.

 

Цитата:
Returns a substring of a string or a segment of a dynamic array.
 
Unit
 
System
 
Category
 
string handling routines
 
function Copy(S; Index, Count: Integer): string;
function Copy(S; Index, Count: Integer): array;
 
Description
 
S 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.


Всего записей: 2065 | Зарегистр. 08-05-2002 | Отправлено: 11:55 15-07-2006
   

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » Прикладное программирование » Вопросы по Delphi 2
ShIvADeSt (22-03-2007 02:18): http://forum.ru-board.com/topic.cgi?forum=33&topic=8142


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru