reset and begin
7/06/2009

function split remove string

string strchuoi = "helo ai do a o do vay" ; ex:
int n =Convert.ToInt32(strchuoi.Length.ToString());
string[] mang= strchuoi.Split(' ');
int sodoan=0; count
foreach(string y in mang)
{
sodoan=sodoan+1;
}

Response.Write(mang[sodoan-1]);
using trim cut space in string

Bloger Comments
G+ Comments
Comments FaceBook

No comments:

List

Profiles Information


About me : Nothing is 1 vài thứ - 1985

Places I've Lived : I Hà Nội

Home Page : http://www.shimivn.blogspot.com/

Think : 1:1000000000

Languages spoken : Vietnamese,English.

Mobile : sony C2305

dell : i3-Ram 3GB- HDD 250GB .