Skip to content

StringTakeDrop

Returns a list {StringTake[s, n], StringDrop[s, n]}.

$ wo 'StringTakeDrop["abcdef", 3]'
{abc, def}