splitter = ( char(','), char('\n') )
fields = inputText.Split( splitter )
But Boo won't execute the code, there are something wrong.
However, thanks Boo Programming Language in Google groups:
These 2 discussions answer my question, and I should use '*':
splitter = ( char(','), char('\n') )
fields = inputText.Split( *splitter )
That's so obscure...
沒有留言:
張貼留言