Sean Cole (Pi)
sean at pidigital.co.uk
Mon Sep 11 17:50:50 EDT 2017
Put "two" after word 1 of "word"
put "two" after word 2 of "word"
'after word' basically counts white space. eg, "word,word,word" is counted
as one word". "word word" with several spaces counts as
two words. "word " still counts as one word. There is no word two
here so it will always append after the same as if it was 'after word 53'!
But when you use put x *after* word y of z *into* z, with z being "word", x
being "two" and y being 2, you are using after out of syntax because you
wouldn't use **after** and **into** in the same 'put' line
*Pi Digital Productions Ltd*
'Don't try to think outside the box. Just remember the truth: There is no
'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 22:11, Bob Sneidar via use-livecode <
use-livecode at lists.runrev.com> wrote:
> Okay so if a field only has 1 word, and I state
> put tWord after word 2 of me into me
> Shouldn't that create a second word? It doesn't it simply appends tWord to
> the end of word 1.
> Bob S
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode