Given a string S of white space separated words containing two words at least,

in Python I can say

x,y,*rest= S.split()

where rest is a tuple of remaining words if S contained more than 2 words.

Is there something similar in Nim?

Many thanks for a hint, Helmut 

Reply via email to