Skip to content

Instantly share code, notes, and snippets.

@petrowsky
Created April 24, 2014 18:44
Show Gist options
  • Save petrowsky/11265076 to your computer and use it in GitHub Desktop.
Save petrowsky/11265076 to your computer and use it in GitHub Desktop.
Let ( [
~tab = Char ( 9 );
~lineFeed = Char ( 10 );
~verticalTab = Char ( 11 );
~formFeed = Char ( 12 );
~string = ~tab & ~lineFeed & ~verticalTab & ~formFeed
&" This text has both leading and trailing white space characters "
& ~tab & ~lineFeed & ~verticalTab & ~formFeed
];
TextFormatRemove ( MiddleWords ( ~string ; 1 ; Length ( ~string ) ) )
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment