Another way would be to use this in B2:

=REPT("|",A2)

then copy down. You could use other symbols than the pipe character.

Hope this helps.

Pete