5 lines
132 B
Haskell
5 lines
132 B
Haskell
|
|
{- Take the specified number of characters
|
||
|
|
from the given string -}
|
||
|
|
strExtract :: Int -> String -> String
|
||
|
|
strExtract x s = take x s
|