|
Boost : |
From: Carl Daniel (cpdaniel_at_[hidden])
Date: 2003-04-17 10:50:39
James Curran wrote:
> Vladimir Prus wrote:
>> The intent is to get/change the part of leaf name after the first
>> dot.
>
> um.. After the FIRST dot or the LAST dot.
>
> In Win32, "james.m.curran.txt" the extention is "txt", not
> "m.curran.txt"
Note too that on Windows/NTFS, names like 'c:/foo/bar.baz.blip:blat' are
legal. The 'extension' is '.blip', not '.baz.blip' and not
'.baz.blip:blat'.
The very existence of such special cases probably means that such a function
would be a good addition to the filesystem library.
-cd
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk