put after

Sean Cole (Pi) sean at pidigital.co.uk
Mon Sep 11 18:42:28 EDT 2017


Because a word is defined as 'a number of characters together in a string
separated either or both sides by a white space'. So it doesn't actually
count the white spaces but the number of actual strings of characters
separated by them. The actual glossary term is not fully expressive by
saying "A chunk of text that is delimited by spaces, tabs, or returns."

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 11 September 2017 at 23:36, Bob Sneidar via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Setting the itemdelimiter to space and using items instead of words would
> certainly work around it, thanks for that tip.
>
> But by way of discussion, when we talk about string manipulation in this
> list/forum, and how words are "delimited" we actually use the word
> "delimiter" to talk about the spaces, with the one difference that there is
> no wordDelimiter property that we can change, while there is for lines and
> items, so that:
>
> put "test" into tString;put "test3" into line 3 of tString;put tString
> produces:
> test
>
> test3
>
> As you would expect. I guess that means that spaces are the bastard
> children of the string manipulation world. :-)
>
> I will file a report anyway as requested.
>
> Bob S
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list