EntityFunctions.Right(String, Nullable<Int64>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes the canonical Right
function. For information about the canonical Right
function, see String Canonical Functions.
public:
static System::String ^ Right(System::String ^ stringArgument, Nullable<long> length);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Right")]
public static string Right (string stringArgument, long? length);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Right")>]
static member Right : string * Nullable<int64> -> string
Public Shared Function Right (stringArgument As String, length As Nullable(Of Long)) As String
Parameters
- stringArgument
- String
A valid string expression.
Returns
The rightmost length
number of characters of stringArgument
.
- Attributes
Remarks
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.