mIRC Home    About    Download    Register    News    Help

Print Thread
Replacing problem #160845 01/10/06 06:23 AM
Joined: Jun 2006
Posts: 79
B
BanJirian Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2006
Posts: 79
Code:
f1 {
  var %a = bttext.codes
  var %b = $left(%a,2)
  set %c $remove(%a,%b)
  echo -a $replace(%c,$char(46),$chr(160))
}
  


I want replace "." with space. Its doesnt work. Thanks

Last edited by BanJirian; 01/10/06 06:25 AM.
Re: Replacing problem #160846 01/10/06 09:37 AM
Joined: Feb 2006
Posts: 181
C
Crinul Offline
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
Code:
f1 {

  var %a = bttext.codes

  var %b = $left(%a,2)

  set %c $remove(%a,%b)

  echo -a $replace(%c,[color:red]$chr(46)[/color],$chr(160))

}

Re: Replacing problem #160847 01/10/06 10:15 AM
Joined: Jun 2006
Posts: 79
B
BanJirian Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2006
Posts: 79
Thanks. :tongue: