Quote:
Hi!
I have a little problem.
How can i replace text width *?
Like that: My_text shoud be ******* . I need it for trivia.


/help $replace
/help $str
/help $len
* = $chr(42) [ascii]

//echo -a Blahblhablha $hide(LOL) blahblha
Code:
alias hide {
return $replace($1,$1,$str($chr(42),$len($1)))
}


Quote:

And how i can partition a text like that:
Whats my dog name?*alfred

I need to partition that. And then have to bee question and answer.
Whats my dog name?
alfred

Sorrryy for english! frown


Using tokens, /help Token Identifiers
Code:
var %text = Whats my dog name?*alfred
 $gettok(%text,1,42) -->  Whats my dog name?
 $gettok(%text,2,42) --> alfred


j0k3r @ k4s.ch