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

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

Re: Getting substring


From: Pierre Rouleau
Subject: Re: Getting substring
Date: Wed, 16 Aug 2023 22:33:34 -0400

I mean,
 Executing :
> (setq str "bigoplus ⨁︁")
> (message "%s TEST: " (car (split-string str)))

prints bigoplus.

but

(message "%s TEST: " (car (split-string grafm)))

will depend of what grafm holds.

On Wed, Aug 16, 2023 at 10:30 PM Pierre Rouleau <prouleau001@gmail.com>
wrote:

>
> Why does the following not print the first word?
>>
>> (message "%s TEST: " (car (split-string grafm)))
>>
>
> Are you sure it does not print it?  It prints bigoplus  for me.
> You can also look into the '*Message*' buffer to see what was printed by
> the message function.
>
>
> --
> /Pierre
>


-- 
/Pierre


reply via email to

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