lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string-split procedure


From: Thomas Morley
Subject: Re: string-split procedure
Date: Tue, 2 Jun 2020 13:48:05 +0200

Am Di., 2. Juni 2020 um 13:20 Uhr schrieb Freeman Gilmore
<freeman.gilmore@gmail.com>:
>
> Example:
> (string-split "root:x:0:0:root:/root:/bin/bash" #\:) ⇒ ("root" "x" "0"
> "0" "root" "/root" "/bin/bash")
>
> Now if i replace the ":"s with " "s, what do I put in the place of the ":" in:
> (string-split "root x 0 0 root /root /bin/bash" #\:) ⇒ ("root" "x" "0"
> "0" "root" "/root" "/bin/bash")
>
> Thank you, ƒg
>

(string-split "root x 0 0 root /root /bin/bash" #\SPACE)

HTH,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]