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

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

Getting substring


From: Heime
Subject: Getting substring
Date: Wed, 16 Aug 2023 09:26:55 +0000

I have a variable named 'multistr' which may consist of multiple parts 
separated by spaces.
How can I get the string before the first space in elisp ?

(setq multistr "this that")
(message "%s" str) giving "this" 





reply via email to

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