Kali ini adalah tutorial tentang bagaimana kita memecah atau membagi kata berdasarkan kriteria yang ditentukan, sebagai contoh jika ada kalimat seperti berikut ini : "Aku sedang belajar C#". Jika kalimat tersebut ingin dipecah/dibagi berdasarkan karakter spasi (" ") maka hasilnya adalah. 1. Aku 2. sedang 3. Belajar 4. C#. Sekarang mulai kita buat programnya
Gambar 1. Preview desain aplikasi program
3. Pada button Pecah, Tambahkan code berikut ini
int i=0;
data = textBox1.Text;
string[] hasil = data.Split(' ');
foreach (string temp in hasil)
{
dataGridView1.Rows.Add(1);
dataGridView1.Rows[i].Cells[0].Value = temp.ToString();
datataGridView1.Rows[i].HeaderCell.Value = i.ToString();
i++;
}
data = textBox1.Text;
string[] hasil = data.Split(' ');
foreach (string temp in hasil)
{
dataGridView1.Rows.Add(1);
dataGridView1.Rows[i].Cells[0].Value = temp.ToString();
datataGridView1.Rows[i].HeaderCell.Value = i.ToString();
i++;
}
4. Selesai.
Jika program diatas dirunning, hasilnya akan seoerti pada gambar diatas, fungsi pemecahan string ini biasanya berguna dalam pemrosesan kata,
Untuk mendapatkan binary filenya silahkan download disini
for more information contact us on informasi@csharp-indonesia.com
for more information contact us on informasi@csharp-indonesia.com
sedangkan untuk mendapatkan full projectnya silahkan tinggalkan email di kotak komentar, full project akan disend ke email tersebu
mas bisa kirim full projeknya ke email saya ?
BalasHapusharunh57@gmail.com
Silahkan Cek emial harunh57#gmail.com. Full project sudah disent ke email tersebut.
BalasHapusterimakasih semoga bisa membantu
jika mengalami kesulitan silahkan download di link berikut
http://adf.ly/6SxCF
kalau untuk pembuangan stopword itu bagaimana ya ?
BalasHapusmisal inputan teks :
masyarakat di jakarta melakukan unjuk rasa dengan kekerasan
outputnya:
masyarakat jakarta melakukan unjuk rasa kekerasan..
jadi kata2 yang tidak perlu dihilangkan.
mohon pencerahannya,,, saya masih bingung implementasi ke C# nya..
saya tunggu jawabannya di email saya :
dheliz1611@gmail.com
terima kasih
Informasinya berguna mas,
BalasHapusdan sudah jelas bagi mereka yang terbiasa menggunakan C#
alangkah lebih baiknya jika penjelasan lebih detail untuk pemula seperti C# viewer yang dibawah.
mas, bisa mnta kirimin full projectnya? k abedhajah@gmail.com. soalny linknya udah mati. thankyou :)
BalasHapusmas tolong dong kirimin full projectnya ke nyomanmardika96@gmail.com.
BalasHapusditunggu ya mas
qihang1005,true religion jeans
BalasHapuscanada goose outlet
mont blanc
canada goose uk
hollister co
ralph lauren pas cher
nike roshe run
nike running shoes
marc jacobs
cheap uggs boots
mizuno running shoes
adidas original trainers
moncler jackets
ed hardy clothing
oakley sunglasses
nike free run
michael kors outlet
nike huarache trainers
tommy hilfiger outlet
ghd
cheap uggs
pandora jewelry
nike trainers
air force 1
ugg boots clearance
giuseppe zanotti sneakers
prada outlet
prada uk
toms outlet
louis vuitton outlet
louis vuitton pas cher
longchamp handbags
ray-ban sunglasses
timberland boots
ray ban outlet
ralph lauren polos shirts
ugg outlet
q
2015-11-24 xiaozhengm
BalasHapusbasketball shoes
adidas shoes uk
canada gooses jackets
ugg boots
louis vuitton handbags
toms outlet
louis vuitton outlet
tory burch outlet
cheap ugg boots
michael kors uk
mcm outlet
mont blanc pens
coach factorty outlet
nike sb shoes
fake oakley sunglasses
air jordan pas cher
cheap jordan shoes
burberry outlet online
louis vuitton
gucci borse
burberry outlet online
polo outlet
timberland boots
coach outlet store online
cheap uggs on sale
true religion outlet
ugg outlet
louis vuitton
louis vuitton handbags
louis vuitton handbags
ugg australia
coach factory outlet
instyler max
coach factory outlet
michael kors handbags
nike free run
louis vuitton borse
adidas uk
canada goose jacket
ugg boots
zhengjx20160326
BalasHapuscalvin klein outlet stores
michael kors bags
under armour outlet store
michael kors bags
toms outlet
gucci outlet online
timberland uk
michael kors outlet
true religion jeans
chaussure louboutin
oakley sunglasses wholesale
reebok classic
michael kors handbags
micahel kors
michael kors bags
coach outlet
sac longchamp
ture religion outlet
armani outlet
longchamp uk
adidas trainers
reebok outlet store
oakley sunglasses
converse outlet
air max 90
michael kors handbags
supra store
omega speedmaster
ferragamo outlet
michael kors outlet
coach outlet online
timberland boots
michael kors outlet clearance
coach factory outlet
louis vuitton pas cher
air max 90
true religion jeans
michael kors purses
ralph lauren sale
rolex replica watches
zhengjx20160411
BalasHapusadidas uk
ralph lauren polo
nike roshe one
ray ban eyeglasses
kobe shoes 11
ray ban outlet
louis vuitton outlet online
cheap air jordans
fitflops
michael kors outlet
fitflop shoes
coach outlet store online
oakley sunglasses
ray bans
hollister kids
cheap toms shoes
kate spade handbags
coach factory outlet
timberlands
michael kors handbags
adidas superstar trainers
michael kors handbags
oakley store
coach factory outlet
hollister clothing store
replica rolex watches
michael kors outlet online
celine handbags
louis vuitton outlet stores
christian louboutin sale
michael kors outlet online sale
cheap oakley sunglasses
oakley canada
giuseppe zanotti outlet
michael kors outlet
adidas originals
coach factorty outlet
kd 8
supra footwear
hollister clothing store
atlanta falcons jerseys
BalasHapusbroncos jerseys
new orleans saints jersey
chargers jerseys
ravens jerseys
miami heat jerseys
carolina panthers jersey
jacksonville jaguars jersey
air max 90
salomon shoes
los angeles lakers jerseys
air max uk
seahawks jersey
new york knicks jersey
abercrombie and fitch
mac cosmetics
chicago bears jerseys
tods shoes sale
new orleans saints jerseys
supra shoes
nike outlet online
tommy hilfiger uk
new york knicks
detroit lions jersey
salomon shoes sale
nike roshe run
hollister canada
vikings jerseys
tods outlet
nike free running
bears jerseys
nike free run
miami heat
giants jersey
fred perry polo
linyuan0517
prada handbags
BalasHapuscartier
moncler outlet store
chi flat iron
canada goose outlet
louis vuitton handbags
mizuno running shoes
fitflops sale clearance
under armour
stephen curry basketball shoes
bottega veneta shoes
valentino
oakley sunglasses uk
christian louboutin shoes
ugg sale
buy red bottoms
coach factory outlet
kate spade handbags
sac longchamp pliage
burberry outlet canada
micahel kors
nike air max 90
white converse
rolex daytona
coach factory outlet
reebok outlet store
kate spade outlet
polo ralph lauren outlet
toms outlet store
yeezy boost 750
longchamp uk
coach outlet store online
air max 90
20160721caiyan
JIANBIN1112
BalasHapusair max 90
canada goose outlet
kate spade handbags
the north face outlet
nike free run
ugg outlet
yeezy boost 350
ugg boots
cheap ray ban sunglasses
mulberry handbags sale
nike outlet
BalasHapusmichael kors handbags sale
michael kors outlet
patriots jerseys
chicago bulls
michael kors handbags
instyler max 2
nike store uk
cheap mlb jerseys
michael kors handbags
uggs outlet
BalasHapusair max 90
swarovski crystal
the north face jackets
kobe bryant shoes
adidas wings
ugg canada
canada goose outlet
kate spade handbags
canada goose jackets
chanyuan12.29
mas bisa kirimin full project nya melaui email saya disini? sekhulamin@gmail.com
BalasHapusnike blazer pas cher
BalasHapushermes belt
cheap nhl jerseys
adidas nmd r1
cheap michael kors handbags
the north face outlet
san diego chargers jerseys
michael kors outlet
tiffany and co outlet
pandora jewelry
see high quality replica bags visite site you can try this out website here Dolabuy Fendi
BalasHapus