Removing Format from the already formatted string
I need to remove the from the string where i have already formated.
For eg:
class Helper {
public string GetFormatedString(string format, object value)
{
return String.Format(format,value);
}
public value GetValue(string formatedString, string format)
{
// TODO: here need to implement
//Here we need to remove "format" applied on formatedString variable
and return.
// Is there a way to remove the format from formated string ?
//return null;
}
}
Is there a way to remove the format from formated string ?
Thanks Dinesh S
No comments:
Post a Comment