====== StripColorCodes ====== {{tag>string colorcode}} ''str StripColorCodes(str s)'' ===== Description ===== Removes all colorcodes from the string and returns the result. ===== Examples ===== StripColorCodes("\cghello") -> "hello" StripColorCodes("hello\cg\cb\c[red]hello") -> "hellohello" Use it to strip colorcodes from player names: print(s:StripColorCodes(PlayerName(X)));