STRING$ function

Purpose: STRING$ returns a string containing Count% occurences of the character corresponding to the ASCII character code in ASCode%.


 Syntax:

 RetStr$ = STRING$(Count%, ASCode%)

 Parameters:

  • RetStr$ Returned string containing Count% occurences of the character corresponding to the ASCII character code in ASCode%.
  • Count% Number of characters to write to RetStr$.
  • ASCode% ASCII code of character to be written to RetStr$.

Remarks: See also the REPEAT$ function.

BCX Console Sample Programs using STRING$ function.

S119.bas