# How to parse bitstring?

**URL:** <https://forum.elixirforum.com/t/how-to-parse-bitstring/20403>\
**Category:** Questions\
**Tags:** nerves, troubleshooting, strings\
**Created:** [February 24, 2019, 4:00pm UTC](https://forum.elixirforum.com/t/how-to-parse-bitstring/20403 "2019-02-24T16:00:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Zesky665](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zesky665/32/9525_2.png) [@Zesky665](https://forum.elixirforum.com/u/Zesky665)\
**Post date:** [February 24, 2019, 4:15pm UTC](https://forum.elixirforum.com/t/how-to-parse-bitstring/20403/3 "2019-02-24T16:15:30Z")

</div>

I’m sorry If I wasn’t clear.

When I said I wanted to get 65 I mean literally a “65” from that bitstring.  
As in I want a list of all of the number values.

Ex:  
a = \<\<170, 192, 65, 0, 100, 0, 61, 86, 56, 171\>\>  
b = some\_function(a)  
b == [170, 192, 65, 0, 100, 0, 61, 86, 56, 171]

---

_[View the full topic](https://forum.elixirforum.com/t/how-to-parse-bitstring/20403)._
