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.
Comment #1 by hsteoh — 2014-09-19T18:33:33Z
Comment #2 by github-bugzilla — 2014-09-20T15:29:33Z
Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/75276df7f3014eda77ee81e0a0cb4d1b7266bf0f Merge pull request #2535 from quickfur/issue10164 Improve documentation of std.string.column.