ibec_Explode

ibec_Explode returns an array of strings.

Syntax

 function ibec_Explode(Delimiter : string; Str : string) : array of string;

Description

ibec_Explode returns an array of strings, each of which is a substring of Str formed by splitting it on boundaries formed by the string Delimiter.

Example

 execute ibeblock
 returns(val varchar(10))
 as
 begin
    Str = 'just a test';
    Delimiter = ' ';
    Words = ibec_Explode(Delimiter, Str);
    for i = 0 to ibec_High(Words) do
    begin
      val = Words[i];
      if (val is not null) then
        suspend;
    end
 end; 

A further example can be referred to here: Working with POP3 servers.

back to top of page
<< ibec_PasswordQuery | IBEBlock | ibec_AnsiLowerCase >>