Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to get a raw string of the problem description? #162

Open
camypaper opened this issue Sep 2, 2014 · 3 comments
Open

Is it possible to get a raw string of the problem description? #162

camypaper opened this issue Sep 2, 2014 · 3 comments

Comments

@camypaper
Copy link

I want to use a value of ${Problem.Constraints} in my template. However, this value contains HTML tags. Can I remove these tags or get a raw string of these properties?

@zen0wu
Copy link
Owner

zen0wu commented Sep 4, 2014

That depends how you define the term "raw string", because I'm not sure that just removing the XML tags is enough to form a so-called raw string. Also, could you share your intented usage of the value to give some insights, an example would be better, thanks.

@wookayin
Copy link
Collaborator

wookayin commented Sep 4, 2014

For example, ${Problem.Constraint ; string(striptags)} or something similar, I guess.

@camypaper
Copy link
Author

hi shivawu, what you said is just what I wanted! I would like to remove XML tags.
I wanted to write in my source code like this.
// n will have between 1 and 50, inclusive.
// m will have between 1 and 50, inclusive.
int sum(int n, int m){
return n+m;
}
Is this easy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants