String$ function in VB6
-
what the return value by using String$()??, example: value = String$(255,32) Thanks angela
angelagke wrote:
what the return value by using String$()??, example: value = String$(255,32)
According to the docs: String Function
String(number, character)
Returns a Variant of subtype String that is of the length specified by number and is filled with a given character. 32 = space character Therefore it retutns a string containing 255 space characters.
Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog
-
angelagke wrote:
what the return value by using String$()??, example: value = String$(255,32)
According to the docs: String Function
String(number, character)
Returns a Variant of subtype String that is of the length specified by number and is filled with a given character. 32 = space character Therefore it retutns a string containing 255 space characters.
Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog