# Get string before Split separator

**URL:** <https://forum.uipath.com/t/get-string-before-split-separator/103135>\
**Category:** Help\
**Tags:** system, activities\
**Created:** [March 18, 2019, 8:37am UTC](https://forum.uipath.com/t/get-string-before-split-separator/103135 "2019-03-18T08:37:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viorica\_Marga](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/viorica_marga/32/107987_2.png) [@Viorica\_Marga](https://forum.uipath.com/u/Viorica_Marga)\
**Post date:** [March 18, 2019, 8:37am UTC](https://forum.uipath.com/t/get-string-before-split-separator/103135/1 "2019-03-18T08:37:51Z")

</div>

Goodmorning,

I have a question how it possible to do this:  
my example is “… PRO: Disneyland PrP DESC: This is a magic park.”

I need to take (split) only "PRO: Disneyland PrP "

after i need to remove “Pr.P”

So finaly i need to take only this word “Disneyland”

Please give me a hand  
Thank you very much  
have a good day

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [March 18, 2019, 8:39am UTC](https://forum.uipath.com/t/get-string-before-split-separator/103135/2 "2019-03-18T08:39:44Z")

</div>

@Viorica_Marga,

Try below one:

RequiredString = yourString.split(" ".ToCharArray)(1)
