A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Really good way to escape all characters you want:

Threaded View

  1. #1
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404

    Really good way to escape all characters you want:

    I found out a way to make a really good escape so here it is..

    event.data.substr(event.data.indexOf(event.data.sp lit(";")[2]),event.data.length).substr(0,event.data.substr(ev ent.data.indexOf(event.data.split(";")[2]),event.data.length).length-1)

    flashkit added some spaces so watch out ^

    event.data being: "chat;username;blahreageagrea;#@$@:;f;eweoag;greag rea;g;re;g;fdg;fd;g;re;t;e;r:@!:#$@!:R$;"
    Last edited by AS3.0; 11-11-2016 at 06:03 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center