# Replace internal text with external in a function

**URL:** https://forum.kirupa.com/t/replace-internal-text-with-external-in-a-function/230274
**Category:** flash
**Created:** [June 24, 2007, 11:44pm UTC](https://forum.kirupa.com/t/replace-internal-text-with-external-in-a-function/230274 "2007-06-24T23:44:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pedromau](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pedromau/32/2793_2.png) [@pedromau](https://forum.kirupa.com/u/pedromau)
#### Post date: [June 24, 2007, 11:44pm UTC](https://forum.kirupa.com/t/replace-internal-text-with-external-in-a-function/230274/1 "2007-06-24T23:44:51Z")

</div>

I’m starting to play / understand how functions work and I’m looking for a way of having the part where it says **“SOME TEXT HERE”** replaced by something else when I call the fuction…

Imagine I have some eternal text… and I want that to be placed in that part…  
How can I do that?!

Any help?!

myfunction( **“SOME TEXT HERE”** ,mytarget);
