function:Replace ( expression, find, replace, start, count, compare )
return type:String
content:ใช้แทนที่ ข้อความในข้อมูลชนิด String
example:text = “England is the best. England is the green place.”
remain = Replace ( text, “England”, “Microsoft”, 1, -1, 1 )
comment:expression คือข้อมูลชนิดString ที่จะค้นหาและแทนที่
find คือข้อความที่จะนำไปค้นหา และถูกแทนที่
replace คือข้อความที่จะนำไปแทนที่
start คือตำแหน่งแรกที่จะเริ่มค้นหา
count คือจำนวนครั้งที่จะแทนที่ (ใส่ -1 หรือไม่ใส่ คือแทนทั้งหมด)
compare คือวิธีการเปรียบเทียบในการค้นหา