digitalmars.D.bugs - [Bug 108] New: std.string wrap is prepending space
- d-bugmail puremagic.com (25/25) Apr 16 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=108
- d-bugmail puremagic.com (9/9) May 25 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=108
http://d.puremagic.com/bugzilla/show_bug.cgi?id=108
Summary: std.string wrap is prepending space
Product: D
Version: 0.150
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla digitalmars.com
ReportedBy: benoit tionex.de
int main( char[][] aArgs ){
writefln( ".%s.", wrap( "x" ) );
writefln( ".%s.", wrap( "u u" ) );
return 0;
}
makes this output:
. x
.
.u u
.
In the first case, a space is prepended in front of x.
Another questing is, if the newline after the input is correct?
--
Apr 16 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=108
bugzilla digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Fixed 0.158
--
May 25 2006








d-bugmail puremagic.com