How To Use Replace Function ?
By Goniey N (Mr. G)
Replace A Character Or String Using Replace Function.....
<Script type="text/javascript">
function ReplaceString()
{
var MyString = "Hello How Are You ? My Name Is goniey";
var AfterReplace = MyString.replace("goniey", "Goniey");
}
</Script>
//Final Result Will Be :
"Hello How Are You ? My Name Is Goniey"
How To Use Replace Function ? (700 Views)