private string GetFixedText(string input) { if (string.IsNullOrEmpty(input)) { return(input); } finalText.Clear(); RTLSupport.FixRTL(input, finalText, farsi, fixTags, preserveNumbers); finalText.Reverse(); return(finalText.ToString()); }
private string GetFixedText(string input) { if (string.IsNullOrEmpty(input)) { return(input); } input = RTLSupport.FixRTL(input, fixTags, preserveNumbers, farsi); input = input.Reverse().ToArray().ArrayToString(); return(input); }
public virtual string GetFixedText(string input) { if (string.IsNullOrEmpty(input)) { return(input); } if (support == null) { support = new RTLSupport(); } input = support.FixRTL(input); input = input.Reverse().ToArray().ArrayToString(); return(input); }