VBCE.com - The Premier Website For Visual Basic/CE Developers

 

*Dev Corner

Sample Code
Controls
Workarounds
Tips & Tricks
Q & A
Forums

*Goodies
Downloads
Software
Bookstore


*General
Home
What's New
General Info
Misc. Info


*News Worthy
News
Articles
Editorials
KB Articles
Reviews
Awards

*Miscellaneous
Web Links
Partners
Search
Feedback
Advertising

<% On Error Resume Next SiteStats() %>

Sponsors


More...


Join Function

    '==============================================================
    'Join Sample                                                  '
    '==============================================================
    'Description    Returns a string created by joining a number
    '               of substrings contained in an array.

    'Syntax         Join(list[, delimiter])

    '               Part        Description
    '               ===============================================
    '               List        Required. One-dimensional array
    '                           containing substrings to be joined.
    '               delimiter   Optional. String character used to
    '                           separate the substrings in the
    '                           returned string. If omitted, the
    '                           space character (" ") is used. If
    '                           delimiter is a zero-length string,
    '                           all items in the list are
    '                           concatenated with no delimiters.
    Dim myList(5)
    Dim myListString
    myList(0) = "Fred"
    myList(1) = "Bob"
    myList(2) = "Mike"
    myList(3) = "Sue"
    myList(4) = "Sam"
    myList(5) = "Bill"
    myListString = Join(myList, ", ")
    MsgBox myListString, vbInformation, "Join Sample"
 

VBCE.com is DevX Winner!

Unless otherwise noted, all information on VBCE.com is Copyright 1998 - 2002
Windows, Windows CE, and Visual Basic are trademarks of the Microsoft Corporation.
VBCE.com is not responsible for content on external sites.
Send all feedback to webmaster@vbce.com
Webmasters - feel free to link to
VBCE.com - Premier Website for Visual Basic/CE Development

Buy Books!