[erlang-bugs] filename:split does not work for windows paths anymore

Ahmed Omar <>
Thu Apr 28 12:11:13 CEST 2011


Yes, the function checks your OS first to decide which split function to
use, i suggest the documentation should clarify that

On Thu, Apr 28, 2011 at 12:06 PM, Rapsey <> wrote:

> Or is it because I ran it on OSX and not windows? :)
> Thats probably it.
>
>
> Sergej
>
>
> On Thu, Apr 28, 2011 at 12:00 PM, Rapsey <> wrote:
>
>> In R14B02 copy paste example from documentation:
>>
>> 55> filename:split("a:\\msdev\\include").
>> ["a:\\msdev\\include"]
>>
>> From documentation:
>> 26> filename:split("a:\\msdev\\include").
>> ["a:/","msdev","include"]
>>
>>
>>
>>
>> Sergej
>>
>
>
> _______________________________________________
> erlang-bugs mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-bugs
>
>


-- 
Best Regards,
- Ahmed Omar
http://nl.linkedin.com/in/adiaa
Follow me on twitter
@spawn_think <http://twitter.com/#!/spawn_think>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110428/203240a3/attachment.html>


More information about the erlang-bugs mailing list