>> I tried to use \tl_to_str in the argument of a \str_if_eq:ooTF, but that >> still results in false. one expansion is not enough to fully expand \tl_to_str. So you'd need f-expansion (or, as Joseph did, x-expansion. Regards, Bruno