Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. String$ function in VB6

String$ function in VB6

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    angelagke
    wrote on last edited by
    #1

    what the return value by using String$()??, example: value = String$(255,32) Thanks angela

    C 1 Reply Last reply
    0
    • A angelagke

      what the return value by using String$()??, example: value = String$(255,32) Thanks angela

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      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

      A 1 Reply Last reply
      0
      • C Colin Angus Mackay

        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

        A Offline
        A Offline
        angelagke
        wrote on last edited by
        #3

        ok, thanks:) angela

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups