Add replace string to a variable?

hello, i have the following:


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?