Home > brede > brede_str_clean.m

brede_str_clean

PURPOSE ^

brede_str_clean - 'Clean' string

SYNOPSIS ^

function sout = brede_str_clean(sin)

DESCRIPTION ^

 brede_str_clean      - 'Clean' string 

       function sout = brede_str_clean(sin)

       Input:  sin    String to be cleaned

       Output: sout   Clean string

       This function deblank in both ends, translates a linefeed to a
       space and remove consecutive spaces (leaving one left).

       Example:
         s = 'Hello,  world'
         t = brede_str_clean(s)

       See also BREDE, BREDE_STR_DEHTML.

 $Id: brede_str_clean.m,v 1.3 2001/01/24 01:44:04 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

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