# Is it possible to parse a party name from text in DAML script

**URL:** <https://forum.canton.network/t/is-it-possible-to-parse-a-party-name-from-text-in-daml-script/2250>\
**Category:** App Development\
**Tags:** daml\
**Created:** [March 10, 2021, 11:59am UTC](https://forum.canton.network/t/is-it-possible-to-parse-a-party-name-from-text-in-daml-script/2250 "2021-03-10T11:59:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Gary\_Verhaegen](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gary_verhaegen/32/81_2.png) [@Gary\_Verhaegen](https://forum.canton.network/u/Gary_Verhaegen)\
**Post date:** [March 10, 2021, 12:35pm UTC](https://forum.canton.network/t/is-it-possible-to-parse-a-party-name-from-text-in-daml-script/2250/3 "2021-03-10T12:35:13Z")

</div>

I actually wrote a full example that uses `partyFromText` by reading the parties (as `Text`) from input files [here](https://discuss.daml.com/t/will-there-be-naming-conflicts-if-i-upgrade-my-contracts-on-daml-on-fabric-or-any-ledger/2161/12). I guess what @cocreature means is you could type the inputs as `Party` directly and thus avoid the call to `partyFromText`.

---

_[View the full topic](https://forum.canton.network/t/is-it-possible-to-parse-a-party-name-from-text-in-daml-script/2250)._
