www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10164] New: std.string.column examples and documentation

http://d.puremagic.com/issues/show_bug.cgi?id=10164

           Summary: std.string.column examples and documentation
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: websites
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc


--- Comment #0 from bearophile_hugs eml.cc 2013-05-24 09:47:35 PDT ---
This is the whole documentation of std.string.column:


size_t column(S)(S str, size_t tabsize = 8);
    Compute column number after string if string starts in the leftmost column,
which is numbered starting from 0.

    Example:


I suggest to add two different usage examples, and maybe improve the text a
little, because I don't understand it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 24 2013