baseName(path).startsWith(something)

Vladimir Panteleev vladimir at thecybershadow.net
Thu Jan 9 13:17:32 PST 2014


On Thursday, 9 January 2014 at 21:01:05 UTC, Martin Nowak wrote:
>> if (path.baseName().startsWith(something))
>>    doThis();
>>
> But how do speak that out in your head?

It sounds OK if you use possessive for noun properties: "If 
path's base name starts with something, do this".


More information about the Digitalmars-d mailing list