Simple example:

writeln("Hi\nHow are you?\nGood".splitLines()[0][0..?lastIndexOf(r"\")]);

How to refer to this string in lastIndexOf() without create a variable?

Thank you.

Reply via email to