共用方式為


RIGHT (報表產生器 1.0)

傳回字串最右方的字元。

語法

RIGHT(string, length)

string

指定要從中取得最右方字元的字串。

length

指定要取得的字元數。

範例

公式

結果

RIGHT(Email Address, 20)

傳回 Email Address 欄位之每個執行個體的最後 20 個字元。例如,@adventure-works.com

RIGHT("A light yet stiff aluminum bar for long distance riding.", 21)

long distance riding.