Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


WordCount.m File Reference

Go to the source code of this file.


Functions

 if (nargin==1)
 while (~isempty(Sdiff))[Word

Variables

 function [N]
trailing blanks are removed
D(optional) a series of characters
to be used as delimiters like%
'|'for a space or|as delimiters
or '|'for|as a delimiter only%default is ' '%%Output Parameters
initailize return variables 
N = []
 D = ' '
end S = deblank (S)
 Sdiff = S
end return

Function Documentation

if nargin  = = 1  ) 
 

while isempty(Sdiff)  ) 
 


Variable Documentation

D = ' '
 

Definition at line 37 of file WordCount.m.

function[N]
 

Initial value:

 WordCount (S,D)
%
%   [N] = WordCount (S,[D])
%
%Purpose:
%   Counts the number of words in S that are delimited by D
%   
%   
%Input Parameters:
%   S a string

Definition at line 1 of file WordCount.m.

N = []
 

Definition at line 48 of file WordCount.m.

end return
 

Definition at line 54 of file WordCount.m.

end S = deblank (S)
 

Definition at line 40 of file WordCount.m.

Sdiff = S
 

Definition at line 47 of file WordCount.m.

 

Powered by Plone

This site conforms to the following standards: