help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Getting substring


From: Emanuel Berg
Subject: Re: Getting substring
Date: Sun, 20 Aug 2023 00:31:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Heime wrote:

> How can I get the string before the first space in elisp ?
>
> (setq multistr "this that")

(car (split-string "first string")) ; "first"

See the docstring for `split-string'.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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