function copy(str1: string; begin, end: integer): string;  

   ,    'begin'    'end'-1. , copy('MIDletPascal', 2, 5)  'Dle'.  ,         copy. 

  MIDletPascal  ,    :      0.




function getChar(str: string; pos:integer): char;  

      .     0.   'pos'  , ,   ,      ASCII '0'. 





function integerToString(val: integer): string;  

     . 

  var i: integer; 
  s: string; 
  begin 
    i := 15; 
    s := integerToString(i); 
    s := '' + i; //    ,  . 
  end. 





function length(str: string): integer;  

   .   MIDletPascal  ,    :      0. 





function locase(str: string): string;  

  'str'   . 






function pos(str1, str2: string): integer;  

    'str2'    'str1'  -1,  'str1'   'str2'.    . 





function setChar(str: string; c: char; pos:integer): string;  

  'str',      'c'   'pos'.    'pos' - 0.  'pos' ,    'str',    'str'  .




function stringToInteger(s:string):integer;  

    .      ,    0.        '+'  '-' . 





function stringToReal(str:string; base:integer):real;  

    .      . 




function upcase(str: string): string;  

  'str'   . 