(Use the bookmarklet on this post to see the code with APL font and syntax highlighting.)
Removes the characters $ and space using "set difference" ~, and evaluates ⍎ the resulting string as APL expression. The preceding - gets evaluated as the "negate" function, and APL's numeric notation uses ¯ (read "high minus") for the negative sign.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
APL (using Dyalog APL):
(Use the bookmarklet on this post to see the code with APL font and syntax highlighting.)
Removes the characters
$
and space using "set difference"~
, and evaluates⍎
the resulting string as APL expression. The preceding-
gets evaluated as the "negate" function, and APL's numeric notation uses¯
(read "high minus") for the negative sign.