# Functions
StripANSICommands attempts to strip ANSI console escape and control sequences from s, returning a string containing only the final printed characters which would be visible onscreen if the string was to be processed by a terminal emulator.