Results 1 to 5 of 5

Thread: old string() function in vb6[RESOLVED]

  1. #1

    Thread Starter
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548

    old string() function in vb6[RESOLVED]

    Code:
    lblSeparator = String(15, "*")
    what is the equivalent in NET -

    how can i use this?



    Thanks, pirate...
    Last edited by ZeBula8; Dec 11th, 2003 at 06:03 PM.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    VB Code:
    1. Dim sp As New String("*", 15)

  3. #3
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    I've seen it before, but never had to use it. What exactly does that do? any documentation for it and its uses?
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  4. #4

    Thread Starter
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548
    Code:
    lblString = String(15,"*")
    puts this in the lblString


    ***************



    has 'some' uses...

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Memnoch1207
    I've seen it before, but never had to use it. What exactly does that do? any documentation for it and its uses?
    It seems to replace current string with the provided char for length of integer .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width