Bug 10164 – std.string.column examples and documentation
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-24T09:47:00Z
Last change time
2014-09-20T20:44:37Z
Keywords
pull
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0 by bearophile_hugs — 2013-05-24T09:47:35Z
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.