Use substring method read from back

Hi, guys :grinning:

I want to read from back using substring method

Example for,
var1 = apple
and I want to get “le” in var1.

What should I do? and Is there another way?

Hi @d_Jay

“apple”.Substring(“apple”.Length - 2) = “le”

Thanks, @wusiyangjia !!!

It is very helpful!!! :smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.