Skip to main content
Fix something error
Source Link
whymath
  • 131
  • 3

SAS, 4747 58 bytes

Fix something error. I just find this anwser is same with the Excel one.

%macro e(m);
%put%length(%length(%length(&m)&m)&m)&m;
%mend;

Try some example:

%e(hello world);
13hello world

%e(something);
10something11something

%e(the axes);
9the axes

SAS, 47 bytes

%macro e(m);
%put%length(%length(&m)&m)&m;
%mend;

Try some example:

%e(hello world);
13hello world

%e(something);
10something

%e(the axes);
9the axes

SAS, 47 58 bytes

Fix something error. I just find this anwser is same with the Excel one.

%macro e(m);
%put%length(%length(%length(&m)&m)&m)&m;
%mend;

Try some example:

%e(hello world);
13hello world

%e(something);
11something

%e(the axes);
9the axes
Source Link
whymath
  • 131
  • 3

SAS, 47 bytes

%macro e(m);
%put%length(%length(&m)&m)&m;
%mend;

Try some example:

%e(hello world);
13hello world

%e(something);
10something

%e(the axes);
9the axes