Doc Comments / Phobos / 
Std String
 				
 					
					std.string    
 
Comments    
 
Add your comments here...
D 1.x/2.x Differences    
 
Some changes have been made to the D 2.x version. The  std2 project contains a port of D 2.x's std.string for D 1.x.
 std2 project contains a port of D 2.x's std.string for D 1.x. 
Compiler "Bug"    
 
char c='Ä'; //(character > 128) does not display a compiler warning (although the char-const does not fit into a byte)
Proposed Enhancements    
 
find(dchar[], dchar[])    
 
this function is needed!!
(only find(char[], char[]) is implemented)
(maybe also the same for wchar[],wchar[])
Make a Zero terminated String    
 
toString( char x ) still does not work, suggest
char x = 'X'; char [] y = toString(x)[0 .. 1]; // strips off null char, problem exists // in std.string , line 1448
Proposed Enhancements - Done !!    
 
std.string.format()    
 
Functionality similar to C's sprintf() function is provided by the function
    char[] std.string.format(...)
It accepts format strings and parameters in the same way the function std.stdio.writef() does, but instead of writing the string to stdout, it returns the char array containing the string.
Links    
 

