<< ibec_PosEx | IBEBlock | ibec_Format >>

ibec_Trim

Trims leading and trailing spaces and control characters from a string.

Syntax

  function ibec_Trim(S : string): string;

Description

No additional description...

Example

  execute IBEBlock
  returns (proc_name varchar(31), proc_src varchar(100))
  as
  begin
    for
      select rdb$procedure_name, rdb$procedure_source
      from rdb$procedures
      order by rdb$procedure_name
      into :proc_name, :proc_src
    do
    begin
      proc_src = ibec_Trim(ibec_Copy(proc_src, 1, 100));
      suspend;
    end
  end

back to top of page
<< ibec_PosEx | IBEBlock | ibec_Format >>