Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlFunctions.CharIndex Method

Returns the starting position of one expression found within another expression.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member CharIndex(Byte[], Byte[]) Returns the starting position of one expression found within another expression.
Public method Static member CharIndex(String, String) Returns the starting position of one expression found within another expression.
Public method Static member CharIndex(Byte[], Byte[], Nullable<Int32>) Returns the starting position of one expression found within another expression.
Public method Static member CharIndex(Byte[], Byte[], Nullable<Int64>) Returns the starting position of one expression found within another expression.
Public method Static member CharIndex(String, String, Nullable<Int32>) Returns the starting position of one expression found within another expression.
Public method Static member CharIndex(String, String, Nullable<Int64>) Returns the starting position of one expression found within another expression.
Top

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see CHARINDEX (Transact-SQL).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.