> On 03 Dec 2014, at 13:54, Udo Schneider <udo.schnei...@homeaddress.de> wrote: > > On 03.12.2014 10:19, Sven Van Caekenberghe wrote: >> Hmm, have you seen that ZnClient>>#addPath: actually does this already for >> non-string arguments (assumed to be collections) ? > No I didn't. That's even better for my purposes! > >> That is too specific, to add for everyone I think. Now, the #split: >> behaviour is already in there. > I just deleted this method. I can work with intances of Path - so no need to > #split: Strings anymore. > >> 'http://myhost.com' asUrl / 'foo' / 'élève-ümlaut.txt'. >> >> It is about as short as it gets, right ? >> >> Here is how to get the #split: behaviour: >> >> 'http://myhost.com' asUrl / 'foo/élève-ümlaut.txt' >> >> When adding a string, the argument is split on / automatically. > As always I amazed of Smalltalk in general and the design of Zinc > specifically ...
Good ! Don't forget: if you get something working that hasn't been done before (it seems you are working on WebDAV), write something short about it to share with the rest of the community. Sven