Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 5 and Version 6 of TextDelimitExample

Show
Ignore:
Author:
Jordi Sayol (IP: 188.119.210.222)
Timestamp:
04/20/12 14:07:19 (12 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TextDelimitExample

    v5 v6  
    1212void main() 
    1313{ 
    14         char[] source = "one#two@three"; 
     14        string source = "one#two@three"; 
    1515 
    1616        // split into an array 
    17         char[][] elements = Text.delimit (source, "#@"); 
     17        string[] elements = Text.delimit (source, "#@"); 
    1818        foreach (element; elements) 
    1919                 Cout(element).newline;