Borderizing Texts

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

I want to get cool borders for my words. Maybe there is an really short way? ;-)

And to make it a little bit more different: Please add some kind of "Character-Ruler" to both sides, you would maybe need it for other Challenges. :-)

(Hopefully no mistake - did it by hand)

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

test test test

Sample output:

 ____________________
| | |  | | |  | | |  |
| test | test | test |
|__|_|_|__|_|_|__|_|_|

Sample input:_

Jackdaws love my big sphinx of quartz.

Sample output:

 ____________________________________________________
| | | | |  | | |  | |  | | | | | | |  | |  | | | | | |
| Jackdaws | love | my | big | sphinx | of | quartz. |
|__|_|_|_|_|__|_|_|__|_|__|__|__|_|_|_|__|_|__|_|_|__|

Sample input:_

Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua.

Sample output:

 _________________________________________________________________________________________________________________________________________________________
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |  | | | | |  | |  | | | |  | |  | | | |  | | | | | | | | | |
| Lorem | ipsum | dolor | sit | amet, | consectetur | adipisici | elit, | sed | eiusmod | tempor | incidunt | ut | labore | et | dolore | magna | aliqua. |
|__|_|__|__|_|__|__|_|__|__|__|__|_|__|__|_|_|_|_|__|__|_|_|_|__|__|_|__|__|__|__|_|_|__|__|_|_|_|__|_|_|_|_|__|_|__|_|_|_|__|_|__|_|_|_|__|_|__|__|_|_|__|

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid1140.01052011/01/07 23:39:210B / 44B / 59B
2yvl1190.02282011/01/09 06:07:440B / 41B / 68B
3kaki1510.01222011/01/04 09:36:350B / 56B / 82B

Perl _

RankUserSizeTimeDateStatistics
1teebee920.00352011/01/08 22:29:530B / 23B / 59B
2dcutter1030.00302011/01/08 23:44:490B / 28B / 63B
3ninjalj2360.00512011/02/14 07:51:330B / 58B / 161B

Python _

RankUserSizeTimeDateStatistics
1recursive1350.06502011/01/05 00:55:200B / 59B / 65B
2twobit1450.09672011/01/03 00:56:230B / 58B / 72B
3hallvabo1880.09552011/01/03 00:19:040B / 89B / 83B

PHP _

RankUserSizeTimeDateStatistics
1Jacob2640.12502011/01/03 04:18:423B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki2540.11832011/01/04 07:02:560B / 108B / 126B

Io _

RankUserSizeTimeDateStatistics
1pooq2580.65892011/01/04 14:17:340B / 110B / 118B

Lua _

RankUserSizeTimeDateStatistics
1pooq2350.03652011/01/03 22:51:420B / 80B / 132B

BASIC _

RankUserSizeTimeDateStatistics
1pooq2350.03712011/01/03 14:56:270B / 83B / 126B

J _

RankUserSizeTimeDateStatistics
1pooq1040.10562011/01/05 18:31:460B / 21B / 78B
2I., S.860.09162011/01/09 23:54:320B / 11B / 69B

C _

RankUserSizeTimeDateStatistics
1nai1550.00262011/01/04 17:44:245B / 53B / 89B

C++ _

RankUserSizeTimeDateStatistics
1first_try_golfing4730.00212011/01/06 12:15:527B / ?B / ?B
2Vim Lover13120.03282016/12/07 04:21:220B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa1310.00872011/01/05 22:19:290B / 53B / 71B
2rst761320.00312011/01/06 01:28:110B / 65B / 59B

Java _

RankUserSizeTimeDateStatistics
1teebee2640.38202011/01/08 05:29:420B / 106B / 144B

C# _

RankUserSizeTimeDateStatistics
1Huggz4560.28772011/01/07 02:41:073B / 255B / 175B

Maxima _

RankUserSizeTimeDateStatistics
1pooq2310.58072011/01/03 15:05:490B / 95B / 121B

sed _

RankUserSizeTimeDateStatistics
1emoken1020.00282011/01/08 02:34:160B / 26B / 55B

R _

RankUserSizeTimeDateStatistics
1pooq2630.94692011/01/04 15:43:010B / 99B / 148B

GolfScript _

RankUserSizeTimeDateStatistics
1narb850.17972011/01/08 22:41:180B / ?B / ?B

Vim _

RankUserSizeTimeDateStatistics
1clock900.13702012/01/01 16:21:531B / 41B / 38B

Language Ranking_

RankLangUserSizeScore
1GolfScriptnarb8510000
2JI., S.869883
3Vimclock909444
4Perlteebee929239
5sedemoken1028333
6Rubyleonid1147456
7Haskellnotogawa1316488
8Pythonrecursive1356296
9Cnai1555483
10Maximapooq2313679
11BASICpooq2353617
12Luapooq2353617
13Schemekaki2543346
14Iopooq2583294
15Rpooq2633231
16PHPJacob2643219
17Javateebee2643219
18C#Huggz4561864
19C++first_try_golfing4731797

return to the top page