Wednesday, 13 March 2013

Splitting into one string into multiple fields


   string s = 1210-5880;
        string[] s1 = s.Split(new char[] { '-' });
        string f1 = s1[0];
        string f2 = s1[1];

No comments:

Post a Comment

Extracting Nupkg files using command line

Rename it to zip first then extract files as below 1.     Rename-Item -Path A_Package.nupkg -NewName A_Package.zip 2.     Make sure to repla...