@martinav
There is no particular LastIndexOf in PowerApps.
But consider the following formula:
With({_aString: "This is, may I say, quite and interesting way to go, or get past, or complete",
_lookingFor: ","},
If(EndsWith(_aString, _lookingFor),
Len(_aString),
Find(_lookingFor & Last(Split(_aString, _lookingFor)).Result, _aString)
)
)
This will return 65 - which is the last index of the ","
If the "," in this case is at the end, it will provide the ending location.
I hope this is helpful for you.