# String handling

**URL:** https://www.finalbuilder.com/forums/t/string-handling/500
**Category:** Discussion
**Created:** [June 20, 2007, 6:53am UTC](https://www.finalbuilder.com/forums/t/string-handling/500 "2007-06-20T06:53:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![esasse](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/esasse/32/1787_2.png) [@esasse](https://www.finalbuilder.com/forums/u/esasse)
#### Post date: [June 20, 2007, 6:53am UTC](https://www.finalbuilder.com/forums/t/string-handling/500/1 "2007-06-20T06:53:35Z")

</div>

I have a string with some paths delimited by semicolon:

C:\Windows;C:\Program Files;D:\Lib

I want to remove some paths and add others to this string.

What's the best way for doing this?

Thanks!

&nbsp;

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [June 21, 2007, 1:15am UTC](https://www.finalbuilder.com/forums/t/string-handling/500/2 "2007-06-21T01:15:31Z")

</div>

Hi Erick,   
  
 You can use the “String Replace” action to replace the paths you want to remove with an empty string, then use the “Path Manipulation” action to append the new paths to the string.   
  
 Regards,   
 Paul.
