I need to know if all characters in a string are equal (formed by the same character). the function must return true or false depending if all the elements of the string ar
Maybe use StringOfChar to generate a string with the target char repeated N times, then do a string comparison instead of comparing char-by-char.
(Don't know if this is actually faster; measure & see).