Skip to content

STRING (Function)


Creates and fills a string of a certain length with a certain character

Syntax

vb
declare function String ( byval count as integer, byval ch_code as long ) as string
declare function String ( byval count as integer, byref ch as const string ) as string

Usage

` result = String[$]( count, ch_code )

*or* `

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft