mIRC Home    About    Download    Register    News    Help

Print Thread
string with comma - help or feature suggestion #258220 19/06/16 11:04 PM
Joined: Sep 2015
Posts: 22
M
M_A_ Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Sep 2015
Posts: 22
It happens that comma is the argument saparator for mirc built in funcs.
It can create unpredictable result when you pass to a function a string containing commas since it WILL be interpreted as different arguments.
I would appreciate if anyone told me a function for comma deletion/replacement
If it does not exist ... take this as a feature suggestion and in such case, please just mention me if you implement it.

Re: string with comma - help or feature suggestion [Re: M_A_] #258221 20/06/16 12:55 AM
Joined: Feb 2015
Posts: 243
O
OrFeAsGr Offline
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 243
Use $chr(44) smile
For characters such as , in aliases and | in.. script lines you can use $chr and it's ascii number.
To see more ascii values you can google "asci tables" or do
//echo -a $asc(character)
Replace character with the character you want and ut will return it's ascii value!

Re: string with comma - help or feature suggestion [Re: OrFeAsGr] #258226 20/06/16 07:46 AM
Joined: Sep 2015
Posts: 22
M
M_A_ Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Sep 2015
Posts: 22
Thank you OrFeAsGr
I will have to delete the post ... there was already another post about the same subject with a terribly simple solution to it smile
I should have checked it first
Thank you again

Thread closed and should be deleted

Last edited by M_A_; 20/06/16 07:48 AM. Reason: request for deletion