Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,712 of 10,840    |
|    Adam Parkin to All    |
|    Re: Resource files and string arrays    |
|    28 Oct 05 16:13:52    |
      From: pzelnip@hotmail.com              Rick Rothstein [MVP - Visual Basic] wrote:              >I've not worked with Resource File personally, so I can't help you       >out with questions related to it directly. However, combining a       >one-dimensional array into a single String and recovering the       >array back again from the String are very simple things to do in       >VB6.       >       >Array to String       >================       >Dim YourArray() As String       >Dim Delimiter As String       >Dim CombinedArray As String       >Delimiter = vbTab       >CombinedArray = Join(YourArray, Delimiter)       >       >String to Array       >=================       >Dim YourArray() As String       >Dim Delimiter As String       >Dim CombinedArray As String       >Delimiter = vbTab       >YourArray = Split(CombinedArray, Delimiter)       >       >       >       Sweet, I didn't know VB had Perl-like split & join functions. Thanks!              Adam              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca