You were close: print( (split(",", "A,B,C,D"))[2] )
Nitpick: split is not a method, methods are called with ->.
In reply to Re: set context for method's return values
by haukex
in thread set context for method's return values
by demoralizer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |