Random Hadith

Narrated AbuHurayrah: The Prophet (peace_be_upon_him) said: Three supplications are answered, there being no doubt about them; that of a father, that of a traveller and that of one who has been [+] [Abu Dawud 002:1531]

Mutiara Hati

Jika target obsesi itu baik, maka memiliki obsesi bukan hanya baik, tetapi harus. Karena motivasi dari sebuah obsesi sangat kuat

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 13 + 6 ?
Please leave these two fields as-is: