Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#MATL, 7 bytes

MATL, 7 bytes

32HY(1e

Try it Online!

Explanation

 % Implicitly grab input as a string
32 % Number literal (ASCII for ' ')
H % Clipboard H contains 2 by default
Y( % Fill the second "row" with spaces
1e % Force everything onto one row. Due to MATLAB being row-major, this inserts the spaces
 % Implicitly display the result

#MATL, 7 bytes

32HY(1e

Try it Online!

Explanation

 % Implicitly grab input as a string
32 % Number literal (ASCII for ' ')
H % Clipboard H contains 2 by default
Y( % Fill the second "row" with spaces
1e % Force everything onto one row. Due to MATLAB being row-major, this inserts the spaces
 % Implicitly display the result

MATL, 7 bytes

32HY(1e

Try it Online!

Explanation

 % Implicitly grab input as a string
32 % Number literal (ASCII for ' ')
H % Clipboard H contains 2 by default
Y( % Fill the second "row" with spaces
1e % Force everything onto one row. Due to MATLAB being row-major, this inserts the spaces
 % Implicitly display the result
deleted 26 characters in body
Source Link
Suever
  • 11.2k
  • 1
  • 24
  • 52

#MATL, 7 bytes

32JY32HY(1e

Try it Online! Try it Online!

Explanation

 % Implicitly grab input as a string
32 % Number literal (ASCII for ' ')
JH % Clipboard JH contains 2 by default
Y( % Fill the second "row" with spaces
1e % Force everything onto one row. Due to MATLAB being row-major, this inserts the spaces
 % Implicitly display the result

#MATL, 7 bytes

32JY(1e

Try it Online!

Explanation

 % Implicitly grab input as a string
32 % Number literal (ASCII for ' ')
J % Clipboard J contains 2 by default
Y( % Fill the second "row" with spaces
1e % Force everything onto one row. Due to MATLAB being row-major, this inserts the spaces
 % Implicitly display the result

#MATL, 7 bytes

32HY(1e

Try it Online!

Explanation

 % Implicitly grab input as a string
32 % Number literal (ASCII for ' ')
H % Clipboard H contains 2 by default
Y( % Fill the second "row" with spaces
1e % Force everything onto one row. Due to MATLAB being row-major, this inserts the spaces
 % Implicitly display the result
Post Undeleted by Suever
Post Deleted by Suever
Source Link
Suever
  • 11.2k
  • 1
  • 24
  • 52

#MATL, 7 bytes

32JY(1e

Try it Online!

Explanation

 % Implicitly grab input as a string
32 % Number literal (ASCII for ' ')
J % Clipboard J contains 2 by default
Y( % Fill the second "row" with spaces
1e % Force everything onto one row. Due to MATLAB being row-major, this inserts the spaces
 % Implicitly display the result

AltStyle によって変換されたページ (->オリジナル) /