# Add simple string manipulation

**URL:** https://www.finalbuilder.com/forums/t/add-simple-string-manipulation/3722
**Category:** Feature Requests
**Created:** [July 18, 2006, 2:45am UTC](https://www.finalbuilder.com/forums/t/add-simple-string-manipulation/3722 "2006-07-18T02:45:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 18, 2006, 2:45am UTC](https://www.finalbuilder.com/forums/t/add-simple-string-manipulation/3722/1 "2006-07-18T02:45:23Z")

</div>

Hi  
it would be nice to be able to get a substring from a string, (and other simple string manipulations). I know it can be done in a script, but I like things to be more readable, so I try to use FB actions.  
Thanks Daphna

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [July 19, 2006, 3:02am UTC](https://www.finalbuilder.com/forums/t/add-simple-string-manipulation/3722/2 "2006-07-19T03:02:24Z")

</div>

thanks for the suggestion Daphna.  
  
There are already some string manipulations available in the Set Variable action. So what sort of extra functionality would you suggest in addition to extracting a substring?

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 19, 2006, 9:42am UTC](https://www.finalbuilder.com/forums/t/add-simple-string-manipulation/3722/3 "2006-07-19T09:42:36Z")

</div>

Hi

the main things that I would like are :  
1. like Pos in Delphi :  
i := Pos(Substring, String); (find if Substring can be found in String, and return its position or 0  
2. like copy in Delphi :   
temp := copy( String, Pos, Len);   
Return a substring From String, starting in Pos, Len places.  
3. Also would be nice to have something like "Parse String" in wise: Splits a String into 2 Strings in a few optional ways, the main one that I use is: Split value at first occurance of value ;for Instance Split a Variable that is a Path name at the first (or last ) occurance of the value \ . They have also "split value at posion x from left (or right), altho this could be done also with No. 2  
4. Return Length of String.  
  
Thanks , Daphna
