Subscribe

Stripping control codes

  1. 2009-04-14 02:11:17 PDT
    Hi,

    Is there a compiled function that can easily strip the control codes from received text, like how IRC clients such as mIRC provide an option for? I've tried coding something to do it, however I'm not proficient with coding, and cannot properly handle stripping of colours (the numerics following, etc.).

    If there's no built in function, can someone suggest a function one could use? Perhaps someone's had the same need and has successfully done it.

    Thanks.
  2. 2009-04-14 03:00:44 PDT
    I've got it done, pretty messy though via nested loops. If anyone's interested in the function, let me know.
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.