f = @(x)sum(diff(+x)); f('Hello World!')
Standard input is empty
ans = -39
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!