Home > brede > brede_str_deblank.m

brede_str_deblank

PURPOSE ^

brede_str_deblank - Removes starting and trailing whitespace

SYNOPSIS ^

function sout = brede_str_deblank(sin)

DESCRIPTION ^

 brede_str_deblank    - Removes starting and trailing whitespace

       sout = brede_str_deblank(sin)

       Input:  sin    String input

       Output: sout   String output

       Removes starting and trailing whitespace. 

       An empty non-string input returns an [] output.

       Removal of trailing whitespaces only is provided with the
       deblank built-in matlab function. Further whitespace
       removal is provided with strtrim standard Matlab function
       and brede_str_clean Brede function.

       Example:
         brede_str_deblank('  A string   ')

       See also BREDE, BREDE_STR, BREDE_STR_CLEAN, DEBLANK,
                STRTRIM.

 $Id: brede_str_deblank.m,v 1.1 2008/03/28 11:43:48 fn Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005