[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting substring
From: |
Heime |
Subject: |
Re: Getting substring |
Date: |
Wed, 16 Aug 2023 13:18:44 +0000 |
------- Original Message -------
On Wednesday, August 16th, 2023 at 9:26 PM, Heime <heimeborgia@protonmail.com>
wrote:
> 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"
Have used
(setq str "bigoplus ⨁︁")
(message "%s TEST: " (car (split-string str)))
(setq str "bigoplus︁")
(message "%s TEST: " (car (split-string str)))
Bet there is something very wrong with it.
- Getting substring, Heime, 2023/08/16
- Re: Getting substring,
Heime <=
- Re: Getting substring, Heime, 2023/08/16
- Re: Getting substring, Pierre Rouleau, 2023/08/16
- Re: Getting substring, Pierre Rouleau, 2023/08/16
- Re: Getting substring, Heime, 2023/08/16
- Re: Getting substring, Heime, 2023/08/16
- Re: Getting substring, Pierre Rouleau, 2023/08/16
- Re: Getting substring, Heime, 2023/08/16
- Re: Getting substring, Pierre Rouleau, 2023/08/17
- Re: Getting substring, Pierre Rouleau, 2023/08/16
Re: Getting substring, Emanuel Berg, 2023/08/22