Friday, November 01, 2013

VB.NET Arrays from comma delimited String

VB Code:
  1. 'creates an array from a string that is delimited by commas
  2. Dim strArray() as string
  3. strArray = split(strText,",")
  4.  
  5. 'turns an array into a string delimited by commas
  6. Dim strText as string
  7. strText = join(strArray,",")
Post a Comment