Getting last word in a string

I am storing a text in a variable and converting that variable into an array. But I do not know how to get the last element of the array. Pls, help me with this.

HI @Devang_Pagare

Checkout this expression

Arrayvariable.Last

Or

ArrayVariable(ArrayVariable.Length-1)

Regards
Sudharsan

image

image

Regards
Sudharsan