# String Trimming Action doesn't remove tab characters

**URL:** <https://www.finalbuilder.com/forums/t/string-trimming-action-doesnt-remove-tab-characters/3193>\
**Category:** Bugs\
**Created:** [November 30, 2009, 8:31am UTC](https://www.finalbuilder.com/forums/t/string-trimming-action-doesnt-remove-tab-characters/3193 "2009-11-30T08:31:29Z")\
**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:** [November 30, 2009, 8:31am UTC](https://www.finalbuilder.com/forums/t/string-trimming-action-doesnt-remove-tab-characters/3193/1 "2009-11-30T08:31:29Z")

</div>

This might be misunderstanding of the meaning of "whitespace"&nbsp;as stated by the "String Trimming"&nbsp;Action documentation.

Observed on FinalBuilder 6.3.0.1816 (and the previous version).

The "String Trimming"&nbsp;Action documentation says that "The String Trimming Action allows you to remove white space from the beginning or end of a string."&nbsp; However, it does not remove tab characters (a rather typical white space character) (I&nbsp;did not check other types of whitespace).

However, the "Set Variable"&nbsp;has a similar feature, namely the Modifier "Trim whitespace from ... string" that does.

- Set Variable Trim1 to Trim[&nbsp;%Test%&nbsp;]
- String Trimming (Test to Trim2)
- Log Variable Values [Test,Trim1,Trim2]

With the project variable Test set to a string containing tab characters copied from Notepad.&nbsp; The output between Trim1 and Trim2 will differ in that Trim2 still has tab characters.

I've attached a simple comparison wherein two variables are copied from a test variable that has trailing tab characters and leading space characters.&nbsp;&nbsp;

[test7.fbz6](https://www.finalbuilder.com/forums/uploads/default/original/2X/6/6b2fb855343446052b5f57d769e6eec93ae21592.fbz6) (1.898 KB)

---

<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:** [November 30, 2009, 10:37am UTC](https://www.finalbuilder.com/forums/t/string-trimming-action-doesnt-remove-tab-characters/3193/2 "2009-11-30T10:37:02Z")

</div>

Hi John,   
  
 Thanks for letting us know about this, we’ll have a new build available soon which fixes this.   
  
 Regards,   
 Paul.

---

<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:** [December 1, 2009, 1:55am UTC](https://www.finalbuilder.com/forums/t/string-trimming-action-doesnt-remove-tab-characters/3193/3 "2009-12-01T01:55:38Z")

</div>

Hi John,   
  
 Here’s the new build of FinalBuilder which fixes the string trimming bug you reported.   
  
 URL: [https://www.finalbuilder.com/downloads/finalbuilder/630/FB630\_1831.exe](https://www.finalbuilder.com/downloads/finalbuilder/630/FB630_1831.exe)   
  
 Regards,   
 Paul.
