11
Answers

c# Replace?

Photo of Mastermosley

Mastermosley

14y
4.5k
1
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)