User:Mathglot/sandbox/Templates/Nth slash

{{documentation|content= Return Nth expression split by slash, or 1st item, if no N index given.

Parameters
1 – the N index; if N=2, returns the second expression (i.e., after the first slash). Default: 1; alias: N.

2 – a string, optionally containing slash separators (with or without leading/trailing blanks, which are ignored)

Examples
⟶

⟶

⟶

⟶

⟶ }}