Steven James Drinnan a écrit : > As far as I know just one by one. Write one line by one line. > > ss[0] = "jkl" > ss[1] = "9080|" > ss[2] = "jim" > ss[3] = "ren" > ss[4] = "mu8" > > I may be wrong and others can give there 2 cents worth. > > Steven > > > On Thu, 2009-06-25 at 15:40 -0700, Swee Kwang Tan wrote: >> Dear Sir, >> Thank you for your reading. I have a string array, there is many element >> string. like this >> dim ss as string[] = ["jkl", "9080|", "jim", "ren", "mu8", "vcnm", "m83d", >> "m09nc", "n83f", "iiop'", "qiop"......] >> a longl long line, it have 65 sub-string. How do I write it smart ? If >> someone type error or >> change someone, editor hard to edit ? >> Thank you >>
may be like this Dim sChain AS String Dim ss AS String[] sChain = "jkl,9080,jim,ren,mu8,vcnm,m83d,m09nc," sChain &= "n83f,iiop,qiop,aaa1,bbb1,ccc1,ddd1,eee1," sChain &= "fff1,ggg1,hhh1,iii1,j1j1,k1k2,l1a2" ' etc ss = SPLIT(sChain,",") hope this help Dominique ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user