If I write this one
str=Subscript["x","y"];
StringQ[str]
False
How can I get str
as string?
Answer
ToString[Subscript["x", "y"], FormatType -> StandardForm]
StringQ[%]
True
If I write this one
str=Subscript["x","y"];
StringQ[str]
False
How can I get str
as string?
Answer
ToString[Subscript["x", "y"], FormatType -> StandardForm]
StringQ[%]
True
Comments
Post a Comment