# How to access Dictionary keys with Variable

**URL:** https://discourse.julialang.org/t/how-to-access-dictionary-keys-with-variable/17543
**Category:** General Usage
**Tags:** question
**Created:** [November 15, 2018, 2:32am UTC](https://discourse.julialang.org/t/how-to-access-dictionary-keys-with-variable/17543 "2018-11-15T02:32:26Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [November 15, 2018, 2:35am UTC](https://discourse.julialang.org/t/how-to-access-dictionary-keys-with-variable/17543/2 "2018-11-15T02:35:57Z")

</div>

Please read [PSA: how to quote code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530) and update your post.

Use `startpos = :Arad` (which is the same you used when you used the key directly)

---

_[View the full topic](https://discourse.julialang.org/t/how-to-access-dictionary-keys-with-variable/17543)._
