title: Delphi Equivalent To VB "Space"
body: <p>Visual Basic "Space" Function returns a string consisting of the specified number of spaces.</p>
  
  <p>Visual Basic Example:</p>
  
  <pre><code>Property Get Sections() As String
  Dim sBuf As String
  Dim iSize As String
  Dim iRetCode As Integer
      sBuf = Space$(8192)
      iSize = Len(sBuf)
      iRetCode = GetPrivateProfileString(0&amp;, 0&amp;, m_sDefault, sBuf, iSize, m_sPath)
      If (iSize &gt; 0) Then
          Sections = Left$(sBuf, iRetCode)
      Else
          Sections = ""
      End If
  End Property
  </code></pre>
  
  <p>What is the Delphi equivalent for "Space"?  Thanks.</p>