# Fetching value from string

**URL:** <https://forum.uipath.com/t/fetching-value-from-string/76398>\
**Category:** Academy Feedback\
**Tags:** excel, system, activities\
**Created:** [November 15, 2018, 10:40am UTC](https://forum.uipath.com/t/fetching-value-from-string/76398 "2018-11-15T10:40:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjun27](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/arjun27/32/16447_2.png) [@arjun27](https://forum.uipath.com/u/arjun27)\
**Post date:** [November 15, 2018, 10:40am UTC](https://forum.uipath.com/t/fetching-value-from-string/76398/1 "2018-11-15T10:40:42Z")

</div>

hello guys  
i have various strings  
for eg  
1 46+ “h2go Bolt Stainless Steel Sport Bottle - 24 oz.” 0.1 0.1 12131076 Notes: blue

1 982 “h2go Venture Vacuum Bottle - 40 oz. - 24 hr” Jul 09 2018 0 0 12133169 Notes: Lemon/Black

i wanna fetch the value which contains oz  
i cannot spilt by “-” as sometimes there is no dash present  
[New Microsoft Excel Worksheet - Copy.xlsx](https://global.discourse-cdn.com/uipath/original/3X/b/f/bf76ad8601aa5195c8e54002cabec90865d4239d.xlsx) (14.2 KB)

for reference i have attached an excel file  
pls refer the column “Descripstion”  
as i need to fetch oz value  
pls help me  
Regards  
Arjun

---

<div class="post-metadata">

**Author:** ![Pablo\_Sanchez](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/pablo_sanchez/32/14355_2.png) [@Pablo\_Sanchez](https://forum.uipath.com/u/Pablo_Sanchez)\
**Post date:** [November 15, 2018, 1:27pm UTC](https://forum.uipath.com/t/fetching-value-from-string/76398/2 "2018-11-15T13:27:11Z")

</div>

Hi @arjun27

I made some logic to make this, but you must apply that to your code and manipulate de string data as you want. I just made that sample to know if thats able.

 ![image](https://global.discourse-cdn.com/uipath/original/3X/6/a/6a630177ee90bedd5da252a52d0961d758ab5bf9.png)

Kinds regards,  
Pablo

---

<div class="post-metadata">

**Author:** ![Anjali01](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anjali01/32/37196_2.png) [@Anjali01](https://forum.uipath.com/u/Anjali01)\
**Post date:** [November 16, 2018, 1:21am UTC](https://forum.uipath.com/t/fetching-value-from-string/76398/3 "2018-11-16T01:21:06Z")

</div>

Hi,

I have created a workflow for your problem check it and let me know.  
[STRING.xaml](https://global.discourse-cdn.com/uipath/original/3X/2/8/287e09a4e625b03e4fcb8967bc74a83b22fadc44.xaml) (13.4 KB)
