Fungsi Split di ASP

Fungsi Split di ASP

<%
Dim Test_Split, Data1, Test_Split2,Data2,Data3, Test_Split3, SisipTeks1,SisipTeks2

SisipTeks = ” EDISI ”
SisipTeks2 = date()

Data1 = “SKH KOMPAS ED. 16 – 30 NOVEMBER 2004″
Test_Split = split(Data1,”ED”)

Data2 = “SKH. TRANSPARAN ED. NOVEMBER 2004″
Test_Split2 = split(Data2,”ED”)

Data3 = “SKH SRIPO ED. NOVEMBER 2004″
Test_Split3 = split(Data3,”ED”)

Response.Write Data1
Response.Write ”

Response.Write “Sesudah di split hasilnya > ”
Response.Write Test_Split(0)

Response.Write ”

Response.Write Data2
Response.Write ”

Response.Write “Sesudah di split hasilnya > ”
Response.Write Test_Split2(0)

Response.Write ”

Response.Write Data3
Response.Write ”

Response.Write “Sesudah di split hasilnya > ”
Response.Write Test_Split3(0)
Response.Write SisipTeks
Response.Write SisipTeks2

%>

Categories: Classic ASP | Tinggalkan komentar

Navigasi pos

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

Buat situs web atau blog gratis di WordPress.com.

%d blogger menyukai ini: