www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.string.endsWith ?

reply "Kyle G." <kyle.james.gibson gmail.com> writes:
According to the webpage*, there exists methods startsWith and endsWith. 
I'm currently using version 2.007, and these methods are missing. Anyone 
else experience this issue?

Kyle

* http://www.digitalmars.com/d/phobos/std_string.html
Dec 09 2007
next sibling parent reply Robert DaSilva <sp.unit.262+digitalmars gmail.com> writes:
Kyle G. wrote:
 According to the webpage*, there exists methods startsWith and endsWith.
 I'm currently using version 2.007, and these methods are missing. Anyone
 else experience this issue?
 
 Kyle
 
 * http://www.digitalmars.com/d/phobos/std_string.html
newest is 2.008
Dec 09 2007
parent "Kyle G." <kyle.james.gibson gmail.com> writes:
Robert DaSilva wrote:
 Kyle G. wrote:
 According to the webpage*, there exists methods startsWith and endsWith.
 I'm currently using version 2.007, and these methods are missing. Anyone
 else experience this issue?

 Kyle

 * http://www.digitalmars.com/d/phobos/std_string.html
newest is 2.008
I suppose that would explain the issue. I had just upgraded to 2.007 from 2.004, thinking 2.007 was the latest.
Dec 09 2007
prev sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Kyle G. wrote:
 According to the webpage*, there exists methods startsWith and endsWith. 
 I'm currently using version 2.007, and these methods are missing. Anyone 
 else experience this issue?
 
 Kyle
 
 * http://www.digitalmars.com/d/phobos/std_string.html
As others have said it was just added in 2.008. It's also in the std2 backport on dsource as of this morning. --bb
Dec 09 2007