#150149 - 2005-10-19 12:34 AM
Re: SPILT enhancement
|
kholm
Korg Regular
   
Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
|
Shawn
I have to wonder like You:
Quote:
Optional. String character(s) used to identify substring limits. If omitted, the space character (" ") is assumed to be the delimiter. If delimiter is a zero-length string, a single-element array containing the entire expression string is returned.
Wonder what that rational was behind that last design choice (to return the entire string instead of an array of chars) ... prolly a useful purpose in that too.
Why send a string to a function and return the same string??
I belive this is easy to implement for Ruud, that's why i'm woting for it.
It could be done in two ways: - Split($string,"") ; Second parameter is an empty string 0-length - Split($string,0) ; Second parameter mening no split char
In my oppinion we should not invent a new function to do this!
-Erik
ps. KiXtart functions behaves exactly like vb-functions, just a litle better (smaller code), why not stay ahead 
I hope the suggestion is not spilt
|
|
Top
|
|
|
|
Moderator: Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 414 anonymous users online.
|
|
|