\hypertarget{interfacedc__string_1_1index__ofs}{}\section{dc\+\_\+string\+:\+:index\+\_\+ofs Interface Reference}
\label{interfacedc__string_1_1index__ofs}\index{dc\+\_\+string\+::index\+\_\+ofs@{dc\+\_\+string\+::index\+\_\+ofs}}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
integer function \hyperlink{interfacedc__string_1_1index__ofs_aff85de37b4c5e25428b248e8de1c824a}{index\+\_\+ofs} (string, start, substr)
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 124 of file dc\+\_\+string.\+f90.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{interfacedc__string_1_1index__ofs_aff85de37b4c5e25428b248e8de1c824a}\label{interfacedc__string_1_1index__ofs_aff85de37b4c5e25428b248e8de1c824a}} 
\index{dc\+\_\+string\+::index\+\_\+ofs@{dc\+\_\+string\+::index\+\_\+ofs}!index\+\_\+ofs@{index\+\_\+ofs}}
\index{index\+\_\+ofs@{index\+\_\+ofs}!dc\+\_\+string\+::index\+\_\+ofs@{dc\+\_\+string\+::index\+\_\+ofs}}
\subsubsection{\texorpdfstring{index\+\_\+ofs()}{index\_ofs()}}
{\footnotesize\ttfamily integer function dc\+\_\+string\+::index\+\_\+ofs\+::index\+\_\+ofs (\begin{DoxyParamCaption}\item[{character(len = $\ast$), intent(in)}]{string,  }\item[{integer, intent(in)}]{start,  }\item[{character(len = $\ast$), intent(in)}]{substr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Definition at line 1243 of file dc\+\_\+string.\+f90.


\begin{DoxyCode}
1243     \textcolor{comment}{!}
1244     \textcolor{comment}{! 文字列 string の start 文字目以降の文字列の中に substr}
1245     \textcolor{comment}{! の文字列が含まれている時、その開始文字位置を返します。}
1246     \textcolor{comment}{! 含まれない場合は 0 を返します。}
1247     \textcolor{comment}{! 返される開始文字位置は文字列 string の先頭から数えます。}
1248     \textcolor{comment}{!}
1249     \textcolor{keywordtype}{character(len = *)}, \textcolor{keywordtype}{intent(in)}:: \hyperlink{namespacedc__types_adb76910ff05e3b9fe3436567f8f8dac6}{string}
1250     \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)}:: start
1251     \textcolor{keywordtype}{character(len = *)}, \textcolor{keywordtype}{intent(in)}:: substr
1252     \textcolor{keywordtype}{intrinsic} index
1253     \textcolor{keywordflow}{if} (start < 1) \textcolor{keywordflow}{then}
1254       result = 0
1255       \textcolor{keywordflow}{return}
1256 \textcolor{keywordflow}{    endif}
1257     result = index(\hyperlink{namespacedc__types_adb76910ff05e3b9fe3436567f8f8dac6}{string}(start: ), substr)
1258     \textcolor{keywordflow}{if} (result == 0) \textcolor{keywordflow}{return}
1259     result = start + result - 1
\end{DoxyCode}


The documentation for this interface was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
dc\+\_\+utils/\hyperlink{dc__string_8f90}{dc\+\_\+string.\+f90}\end{DoxyCompactItemize}
