EntityFunctions.Right(String, Nullable<Int64>) EntityFunctions.Right(String, Nullable<Int64>) EntityFunctions.Right(String, Nullable<Int64>) EntityFunctions.Right(String, Nullable<Int64>) Method

Definition

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, Nullable<long> length);
static member Right : string * Nullable<int64> -> string
Public Shared Function Right (stringArgument As String, length As Nullable(Of Long)) As String

Parameters

stringArgument
String String String String

A valid string expression.

length
Nullable<Int64>

The number of characters to return.

Returns

The rightmost length number of characters of stringArgument.

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.

Applies to