I would like to see the $strip identifier to start with the char $chr(15) which means any trailing color won't ruin the code.
//var %strip = 4text | echo -a %strip :: $strip(2text)
That's not a bug because the $strip procedure it to strip the text within the identifier. although I had to add $chr(3) or $chr(15) in the first position. but I would like the identifier to be leaded (starting) by $chr(15).
PLEASE DO NOT USE ACTUAL CONTROL CODES IN YOUR CODE!
Sorry but I have no idea what the is. Use $chr(N) Please! Like $+($chr(03),4,text). Not 4text.
Anyhow... $chr(15) (which I will represent with ^o) is a control code. $strip purpose is to remove those. You want strip to ignore the formatting preceding it. It should NOT do that. That text appears BEFORE you call the identifer.
Bad bad idea. Use $+($chr(15),$strip(text)).