# Format of Party strings

**URL:** <https://forum.canton.network/t/format-of-party-strings/408>\
**Category:** App Development\
**Tags:** daml, ledger, duplicate\
**Created:** [May 8, 2020, 4:19pm UTC](https://forum.canton.network/t/format-of-party-strings/408 "2020-05-08T16:19:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohanjr](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rohanjr/32/259_2.png) [@rohanjr](https://forum.canton.network/u/rohanjr)\
**Post date:** [May 8, 2020, 4:19pm UTC](https://forum.canton.network/t/format-of-party-strings/408/1 "2020-05-08T16:19:00Z")

</div>

Is there a specification on the format of Party strings? After a while searching on the docs page I eventually found [https://docs.daml.com/app-dev/grpc/proto-docs.html#allocatepartyrequest](https://docs.daml.com/app-dev/grpc/proto-docs.html#allocatepartyrequest) which points to [daml/value.proto at 208d4a50daabf4f2059983efd024de7c405e69b7 · digital-asset/daml · GitHub](https://github.com/digital-asset/daml/blob/208d4a50daabf4f2059983efd024de7c405e69b7/ledger-api/grpc-definitions/com/daml/ledger/api/v1/value.proto#L23). This gives a regex which is pretty much what I was looking for, but is there a limit on the length?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 8, 2020, 4:20pm UTC](https://forum.canton.network/t/format-of-party-strings/408/2 "2020-05-08T16:20:54Z")

</div>

See [What are the allowed characters and max length for DAML Party literals/names?](https://discuss.daml.com/t/what-are-the-allowed-characters-and-max-length-for-daml-party-literals-names/164).
