Home > freetb4matlab > strings > strchr.m

strchr

PURPOSE ^

% Search for the string @var{str} for occurrences of characters from the set @var{chars}.

SYNOPSIS ^

function varargout = strchr (str, chars, varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{idx} =} strchr (@var{str}, @var{chars})
% @deftypefnx {Function File} {@var{idx} =} strchr (@var{str}, @var{chars}, @var{n})
% @deftypefnx {Function File} {@var{idx} =} strchr (@var{str}, @var{chars}, @var{n}, @var{direction})
% Search for the string @var{str} for occurrences of characters from the set @var{chars}.
% The return value, as well as the @var{n} and @var{direction} arguments behave
% identically as in @code{find}.
%
% This will be faster than using regexp in most cases.
%
% @seealso{find}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003