Author Topic: Split and Join  (Read 159 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3751
    • Oxygen Basic
Split and Join
« on: June 06, 2018, 03:13:46 AM »

Code: [Select]
uses Console
uses ParseUtil
string s 'string to be split
string t 'join string
string a[100] 'array for split data
int c
s=`one two,"three and 'four'", "five and six",(seven,eight),"nine" `
print s cr string(len(s),"=") cr cr
int i
for i=1 to c
print i tab a[i] cr
print cr t cr

Updated: inc\


  • Guest
Re: Split and Join
« Reply #1 on: June 06, 2018, 04:37:36 AM »
Charles, thank you
but not having native tools the programmer has to do his
I even have my version of split and join despite the vba having them natives
I asked more because of the enum I found confused