Button 0
Friday, May 9, 2008
Subscribe to Email Digest
 
ScriptBuilders
Adam Bell [staff] Section Finder | ScriptBuilders | Upload your Scripts!
Home >> ScriptBuilders >> Utilities >> TrimBeginning_and_Ending_WhiteSpace
Script Info Page
TrimBeginning_and_Ending_WhiteSpace 1.0 Script Rating
Freeware | Version: 1.0 | Script id: 5117
Author: Sam Griffith, Jr. | Developer's Web Site
Scripting Additions Required?: None
Requirements: Leopard
Script Type: Editable
Category: Utilities
Click here to View Screenshot
Two handlers to trim whitespace. They use the new constants defined in Leopard for space, return, linefeed and tab. There is trimBeginningWhiteSpace and trimTrailingWhiteSpace. They both trim spaces, tabs, linefeeds and returns from a text string passed in and return a cleaned string. Samples are at the end of the script.
Release Notes:
This Version: 16 | All Previous Versions: 0 Show More files from this Author?
Reviews: [Add Your Review]
Generated in 0.177 secs | Total entries: 1864 | Views: 2072858