terima kasih atas pendapat Mr. Uji frame. mungkin perlu saya jelaskan lagi 
bahwa saya ingin meng-replace isi pada sebuah file misal : test.txt di mana di 
dalam file teks tersebut terdapat banyak kata/kalimat yang ingin saya replace 
dengan kata/kalimat lain.
 
contoh yang diberikan adalah untuk meng-replace sebuah string dan tidak bisa 
diterapkan
dalam isi sebuah file.
 
mungkin ada rekan-rekan indopb yang pernah mencobanya ?
 
terima kasih.
 


Uji Frame <[EMAIL PROTECTED]> wrote:
Cobain
string ls_file, ls_kata, ls_ganti
do while pos(ls_file, ls_kata)>0
    ls_file=replace(ls_file, pos(ls_file, ls_kata), len(ls_kata), ls_ganti)
loop



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-----------------------------------------------
 INDOPB TURUT BERDUKA CITA UNTUK ACEH & SUMUT 
-----------------------------------------------
IndoPB - Indonesia PB User Group 
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe,send a blank message to: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indopb/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke