Kaj   -  Jul 10, 2013

Hey, I'm trying to make sort of a talker where every character is reversed color of the previous character and I have this script now:

alias cow {
var %input = $1-
var %output
while ($len(%input) > 0) {
%output = $+(%output,,$left(%input,1))
%input = $right(%input,-1)
}
return %output
}

Problem is that when there is a space in the %input, it is ignored in the %output. How can i solve this? A space character gets lost in the $+()

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.