Code point
U+2502
Glyph appearance depends on your fonts.
U+2502
SoU+2502 BOX DRAWINGS LIGHT VERTICAL is a Unicode 16.0.0 character in the Other Symbol category. It belongs to the Box Drawing block.
Choose the representation you need, then copy its value.
U+2502
9474
│
│
│
E2 94 82
2502
00002502
%E2%94%82
\u2502
\u2502
\u2502
\2502