Random Hadith

Narrated Abu Huraira: The Prophet said, "But for the Israelis, meat would not decay and but for Eve, wives would never betray their husbands." [Bukhari 055:547]

Mutiara Hati

Untuk menjadi sukses, Anda harus memutuskan dengan tepat apa yang Anda inginkan, tuliskan dan kemudian buatlah sebuah rencana untuk mencapainya

Announcement

 

May 2010
M T W T F S S
« Apr   Jun »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Archives

Categories

Tags

free counters

Fungsi STRTRAN untuk mengganti karakter tertentu dalam sebuah variabel (Visual Foxpro)

Perintah STRTRAN dalam bahasa Microsoft Visual FoxPro digunakan untuk mengganti satu karakter atau lebih yang terdapat didalam sebuah variabel. Syntax penulisan perintah ini adalah sebagai berikut

STRTRAN(var,xchar,ychar)
var = nama variabel
xchar = karakter yang akan diganti
ychar = karakter pengganti

contoh penggunaan dalam Microsoft Visual FoxPro dapat dilihat dbawah ini:

1
2
3
cdata="microsoft"
? STRTRAN(cdata,"o","a")
micrasaft

Penggunaan fungsi STRTRAN sama dengan fungsi

REPLACE yang terdapat di dalam MySQL

Popularity: 3% [?]

1 comment to Fungsi STRTRAN untuk mengganti karakter tertentu dalam sebuah variabel (Visual Foxpro)

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

CommentLuv badge
[+] kaskus emoticons nartzco
What is 14 + 15 ?
Please leave these two fields as-is: