
24 Mar
2005
24 Mar
'05
9:18 a.m.
Hi, is it possible to make the split function return the last token even if empty? IMO the current behaviour is a violation of generic concepts: split(..., "\tabc") -> returns 2 tokens split(..., "abc\t") -> returns 1 token What is the rationale for this? Stefan

24 Mar
24 Mar
10:22 a.m.
Hi Stefan, On Thu, Mar 24, 2005 at 10:18:13AM +0100, Stefan Slapeta wrote:
Hi,
is it possible to make the split function return the last token even if empty? IMO the current behaviour is a violation of generic concepts:
split(..., "\tabc") -> returns 2 tokens split(..., "abc\t") -> returns 1 token
What is the rationale for this?
This is known issue, it will be fixed in the upcoming release. Regards, Pavol
7387
Age (days ago)
7387
Last active (days ago)
1 comments
2 participants
participants (2)
-
Pavol Droba
-
Stefan Slapeta