Hi guys
I know you can do something like this ...
if Cats.AnimationName & "1" ... do something
is there a way I can check for Animation Name minus a character? For example ...
if Cats.AnimationName - "b" ... do something
Thank you heaps in advance!
This will give you animation name without the last character:
Left(AnimationName, len(AnimationName)-1)
If you know the string length, you can use fixed number:
Left(AnimationName, 5)
dop2000 - Thank you, you're a legend! It works perfectly :)
There is also replace or regexreplace expressions if you need something gone from the middle of a string. Just replace whatever with an empty string.
Develop games in your browser. Powerful, performant & highly capable.
WackyToaster Thanks! I'll have a good look at that as well, I'm sure it will be useful :)