The /adid one does not work as when you use it on either normal text or text on a button all that is done is it does each letter and all that is left is the last letter of what you entered. If I chose "This is cool" for it all I would get when it is done is the "l" as it resets the field each time it gets to a new character to add.
Edit: Fixed issue. Solution below.
Use this $replace in place of the one you have for the /adid one and it will work correctly.
$replace($right($left($3-,%x),%x),$chr(32),$chr(160))