Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. stock strreplace(string[], find, replace)
  2. {
  3. for(new i=0; string[i]; i++)
  4. {
  5. if(string[i] == find)
  6. {
  7. string[i] = replace;
  8. }
  9. }
  10. return replace;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement