0

I have a configuration file which defines a variable

project = "ORB"

using this , I want to rename variable(s) in my code

project_unique_tags  

to

ORB_unique_tags  

notice how only the bold portion in the variable project_unique_tags is to be replaced with the value "ORB" (without the quotes ofcourse)

how to achieve this?

8
  • 4
    You don't. Commented Jan 13, 2017 at 16:04
  • edited my question to further clarify Commented Jan 13, 2017 at 16:20
  • I think the end of your clarification got cut off ... Commented Jan 13, 2017 at 16:21
  • thanks @ZeroPiraeus. edited. Commented Jan 13, 2017 at 16:25
  • 1
    @Imran: why would you need to do that? Programs don't normally adjust their variable names for each project or document or image they are run for. Why should the user care about what variables the program uses in the first place? Commented Jan 14, 2017 at 14:46

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.