Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


zdeblankall.m

Go to the documentation of this file.
00001 function [Sd] = zdeblankall (S)
00002 %
00003 %   [Sd] = zdeblankall (s)
00004 %
00005 %Purpose:
00006 %   removes all blanks in a word in S
00007 %   blanks are characters that return true
00008 %   for the function isspace.
00009 %   This includes space, tab, new line etc.
00010 %   
00011 %Input Parameters:
00012 %   S : a string
00013 %   
00014 %   
00015 %Output Parameters:
00016 %  Sd : S without any blanks   
00017 %   
00018 %      
00019 %Key Terms:
00020 %   
00021 %More Info :
00022 %   isspace, zdeblank
00023 %   
00024 %   function is nothing but:
00025 %   Sd = S(find(~isspace(S)));
00026 %
00027 %     Author : Ziad Saad
00028 %     Date : Wed Nov 10 13:05:51 EST 2004
00029 %     SSCC/NIMH/ National Institutes of Health, Bethesda Maryland
00030 
00031 
00032 Sd = S(find(~isspace(S)));
00033 
00034 return;
00035 
 

Powered by Plone

This site conforms to the following standards: