last_boxed_only_string

last_boxed_only_string(string: str) -> str | None
Source: https://github.com/hendrycks/math Extract the last \boxed\{...} or \fbox\{...} element from a string. Parameters:
NameDescription
stringType: str