Skip to main content

isolate

Function isolate 

Source
pub fn isolate(text: impl Display) -> String
Expand description

text for insertion into a translated text: in a right-to-left language it is isolated (U+2068 … U+2069), so that a file name, a path or a number with its unit keeps its own order and does not reorder the text around it. In left-to-right languages it is returned as it is.