RADIO ONLINE (Click radio icon to listen)

Sunday 29 March 2020

Title: mIRC Alias To Clear All Html Codes.

mIRC Alias To Clear All Html Codes.

mIRC Alias To Clear All Html Codes.
mIRC Alias To Clear All Html Codes.


This page is about mIRC Alias To Clear All Html Codes. This alias called $nohtml.

When we do a script using socket, and we make the sockread into a webpage source, we oftenly need the only data after the html codes. So, this is one of the solution.

We all know that in mirc, the character of 32, or $chr(32) represent space. You may change the $chr(32) into $null, if you do not want the result data array with space. 

We have the simple addon for character. Refer here

Below is the script.


alias nohtml {
  var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$chr(32),%x), %x = $remove(%x,&nbsp;)
  return %x
}

That's All Folks..


If you like this post, kindly linkback to this post entry by copying one of the codes below..

URL Of Post: Paste This HTML Code On Your Page:

4 comments:

  1. land slot auto เล่นเกมสล็อตได้ทุกค่าย ครบทุกเกมไปกับ ทุกค่ายเกมสุดสนุก แบบแปลกใหม่ ไม่มีซ้ำใครกันแน่ เล่นได้ไม่น่าเบื่อ PG ไม่เหมือนกันด้วยการเป็นบริการเกมสล็อตออนไลน์

    ReplyDelete