Mastermosley

Mastermosley

  • NA
  • 13
  • 9.3k

c# Replace?

May 21 2011 8:51 PM
I have a bunch of text files that get loaded into strings at the start of the program. These strings will have custom color codes like <red><blue> ect. But I need to replace those with the xterm color codes. Say <red> is '\e[38;5;196m' how would I do this?

Answers (11)