FlexReport for WinForms
IndexOf メソッド (StringParser)


C1.Report.4.6.2 アセンブリ > C1.Report 名前空間 > StringParser クラス : IndexOf メソッド
The string in which the text will be searched.
The text to search for.
A StringParser.Params contains search parameters.
Finds the index of the specified text in the string.
シンタックス
'宣言
 
Public Shared Function IndexOf( _
   ByVal s As System.String, _
   ByVal str As System.String, _
   ByVal prms As StringParser.Params _
) As System.Integer
'使用法
 
Dim s As System.String
Dim str As System.String
Dim prms As StringParser.Params
Dim value As System.Integer
 
value = StringParser.IndexOf(s, str, prms)
public static System.int IndexOf( 
   System.string s,
   System.string str,
   StringParser.Params prms
)

パラメータ

s
The string in which the text will be searched.
str
The text to search for.
prms
A StringParser.Params contains search parameters.

戻り値の型

The text index if found, otherwise -1.
参照

参照

StringParser クラス
StringParser メンバ