# String manupulation

**URL:** <https://forum.uipath.com/t/string-manupulation/227112>\
**Category:** Studio\
**Tags:** system, activities\
**Created:** [May 29, 2020, 9:46am UTC](https://forum.uipath.com/t/string-manupulation/227112 "2020-05-29T09:46:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karan\_kapoor1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/karan_kapoor1/32/182127_2.png) [@karan\_kapoor1](https://forum.uipath.com/u/karan_kapoor1)\
**Post date:** [May 29, 2020, 9:46am UTC](https://forum.uipath.com/t/string-manupulation/227112/1 "2020-05-29T09:46:10Z")

</div>

hii..  
i have a string like "Hey team, My name is XYZ.

I want to extract the part between the “,”(comma) and the full stop.

---

<div class="post-metadata">

**Author:** ![ImPratham45](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/impratham45/32/161516_2.png) [@ImPratham45](https://forum.uipath.com/u/ImPratham45)\
**Post date:** [May 29, 2020, 9:53am UTC](https://forum.uipath.com/t/string-manupulation/227112/2 "2020-05-29T09:53:21Z")

</div>

Use  
Var=“Hey team, My name is XYZ.”  
Var.Split({“,”},StringSplitOption.None)(1).Trim.Split({“.”},StringSplitOption.None)(0)

---

<div class="post-metadata">

**Author:** ![rahulsharma](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rahulsharma/32/55062_2.png) [@rahulsharma](https://forum.uipath.com/u/rahulsharma)\
**Post date:** [May 29, 2020, 10:11am UTC](https://forum.uipath.com/t/string-manupulation/227112/3 "2020-05-29T10:11:28Z")

</div>

Hi @karan_kapoor1

You can also try this.

Variable = “Hey team, My name is XYZ.”

System.Text.RegularExpressions.Regex.Match(Variable,“(?\<= **,** )([\S\s]\*)(?= **.** )”).Value.Trim

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [June 1, 2020, 10:11am UTC](https://forum.uipath.com/t/string-manupulation/227112/4 "2020-06-01T10:11:31Z")

</div>

Closed on June 1, 2020, 10:11am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
