Summary: countChars, removeChars
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-11-25 16:34:03 PST ---
For uniformity with the other string functions I think std.string.countchars,
std.string.removechars need a capital letter in the middle:

import std.string: countChars, removeChars;
void main() {
    string s = "hello";
    assert(s.countChars("l") == 2);
    assert(s.removeChars("l") == "heo");

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to