# Add replace string to a variable?

**URL:** <https://forum.kirupa.com/t/add-replace-string-to-a-variable/282282>\
**Category:** Uncategorized\
**Created:** [February 19, 2009, 7:46pm UTC](https://forum.kirupa.com/t/add-replace-string-to-a-variable/282282 "2009-02-19T19:46:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [February 19, 2009, 7:46pm UTC](https://forum.kirupa.com/t/add-replace-string-to-a-variable/282282/1 "2009-02-19T19:46:19Z")

</div>

hello, i have the following:

```auto

private static const CONFIG_FILENAME:String = "config.ini";

public function get fileName( ):String
        {
            return fullPath + CONFIG_FILENAME;
        }
[as/]

I would like to add a "?" to config.ini to say config?.ini

how can i achieve this?
```
