Say you have two strings.
String 1: "FormatDateTime((0}, DateFormat.ShortDate)"
String 2: "3/17/2005 1:40:00 AM"
Is it possible to apply the format within string 1 to string 2? For what it's worth, the value will not always contain a date, it should be able to handle anything.
I know that the existing EVAL() function would do what I'm looking for, but I need a .NET 2.0 equivalent. TIA!
String 1: "FormatDateTime((0}, DateFormat.ShortDate)"
String 2: "3/17/2005 1:40:00 AM"
Is it possible to apply the format within string 1 to string 2? For what it's worth, the value will not always contain a date, it should be able to handle anything.
I know that the existing EVAL() function would do what I'm looking for, but I need a .NET 2.0 equivalent. TIA!