IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
strip_quotes.m
Go to the documentation of this file.
1
%>@ingroup
string
conversion
2
%>@file
3
%>@brief Removes
double
quotes from both ends of the
string
.
4
5
function s =
strip_quotes
(s)
6
if ~isempty(s)
7
if s(1) == 34
8
s = s(2:end);
9
end;
10
if s(end) == 34
11
s = s(1:end-1);
12
end;
13
end;
strip_quotes
function strip_quotes(in s)
m
misc
string
strip_quotes.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1