Logo

Programming-Idioms

History of Idiom 46 > diff from v30 to v31

Edit summary for version 31 by :
New Clojure implementation by user [pgon101a]

Version 30

2016-02-16, 21:41:08

Version 31

2016-02-17, 22:46:21

Idiom #46 Extract beginning of string (prefix)

Create string t consisting of the 5 first characters of string s.

Idiom #46 Extract beginning of string (prefix)

Create string t consisting of the 5 first characters of string s.

Code
(take 5 "abcdefjhi")