# Table style print for 2D Array, Dictionary and Tuples

**URL:** <https://forums.swift.org/t/table-style-print-for-2d-array-dictionary-and-tuples/35121>\
**Category:** Pitches\
**Tags:** stdlib\
**Created:** [April 5, 2020, 5:04pm UTC](https://forums.swift.org/t/table-style-print-for-2d-array-dictionary-and-tuples/35121 "2020-04-05T17:04:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![SDGGiesbrecht](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/sdggiesbrecht/32/4768_2.png) [@SDGGiesbrecht](https://forums.swift.org/u/SDGGiesbrecht)\
**Post date:** [April 6, 2020, 2:28am UTC](https://forums.swift.org/t/table-style-print-for-2d-array-dictionary-and-tuples/35121/3 "2020-04-06T02:28:24Z")

</div>

Text really isn’t suited for faking layout:

```swift
+------+------------+
|Hebrew|Arabic |
+------+------------+
|שלום |السلام عليكم|
+------+------------+

```

😱

But if you are a stickler for old‐fashioned hacks, then [the actual box‐drawing characters](https://www.unicode.org/charts/PDF/U2500.pdf) will look nicer with any text that _does_ obey their bounds.

---

_[View the full topic](https://forums.swift.org/t/table-style-print-for-2d-array-dictionary-and-tuples/35121)._
