as in something like this...
put char 2 to (the number of chars of fld 1) of fld 1 into fld 2
> Date: Wed, 19 Feb 2014 14:05:20 +0200
> From: richmondmathew...@gmail.com
> To: use-livecode@lists.runrev.com
> Subject: Delete char in string
>
> I am trying to do this:
>
> delete first char of
On 19/02/14 14:09, John Dixon wrote:
as in something like this...
put char 2 to (the number of chars of fld 1) of fld 1 into fld 2
Exactly:
nipping chars off strings in fields is dead easy:
delete char 1 from field "MYCRAPPYTEXT"
but I have a funny feeling that everything will move a wh
de@lists.runrev.com
> Subject: Re: Delete char in string
>
> On 19/02/14 14:09, John Dixon wrote:
> > as in something like this...
> > put char 2 to (the number of chars of fld 1) of fld 1 into fld 2
> >
> >
> Exactly:
>
> nipping chars off strings in fie
On 19/02/14 14:09, John Dixon wrote:
as in something like this...
put char 2 to (the number of chars of fld 1) of fld 1 into fld 2
Oddly enough THIS works:
put fld "INN" into $INN
delete char 1 of $INN
put $INN into fld "OWT"
BUT, BUT, BIG UNCOMFORTABLE BUT, this:
put fld "INN" into
What about:
Replace char 1 of mystring with ""
Bill
William Prothero
http://es.earthednet.org
> On Feb 19, 2014, at 4:28 AM, Richmond wrote:
>
>> On 19/02/14 14:09, John Dixon wrote:
>> as in something like this...
>>put char 2 to (the number of chars of fld 1) of fld 1 into fld 2
>
> Od
On 19/02/14 14:28, Richmond wrote:
On 19/02/14 14:09, John Dixon wrote:
as in something like this...
put char 2 to (the number of chars of fld 1) of fld 1 into fld 2
Oddly enough THIS works:
put fld "INN" into $INN
delete char 1 of $INN
put $INN into fld "OWT"
BUT, BUT, BIG UNCOMFORTA
On 19/02/14 17:42, Earthednet-wp wrote:
What about:
Replace char 1 of mystring with ""
delete char 1 of $string works; that is not the problem.
Richmond.
Bill
William Prothero
http://es.earthednet.org
On Feb 19, 2014, at 4:28 AM, Richmond wrote:
On 19/02/14 14:09, John Dixon wrote:
a
Dunnit!
The result may be downloaded here:
http://forums.runrev.com/viewtopic.php?f=5&t=19188&p=96894#p96894
The "secret" if there is any secret at all, is that while I was working
on the thing I did not
"unload" each string variable between each go.
Rather than repeat things endlessly here
On 2/19/14, 10:11 AM, Richmond wrote:
The "secret" if there is any secret at all, is that while I was working
on the thing I did not
"unload" each string variable between each go.
An easy trap to fall into. My big question is why you're using system
variables.
--
Jacqueline Landman Gay
On 19/02/14 19:35, J. Landman Gay wrote:
On 2/19/14, 10:11 AM, Richmond wrote:
The "secret" if there is any secret at all, is that while I was working
on the thing I did not
"unload" each string variable between each go.
An easy trap to fall into. My big question is why you're using system
v
On Thu, Feb 20, 2014 at 12:11 AM, Richmond wrote:
>
> Rather than repeat things endlessly here, I would urge interested parties
> to download the stack, mess around with it,
> and crack open the scripts of the 2 buttons.
>
> In line with Geoff's recent post about riding the world of repeat loops
w
Aren’t those constants? Can you edit constants like variables?
Bob
On Feb 19, 2014, at 04:05 , Richmond wrote:
> I am trying to do this:
>
> delete first char of $TEXT
>
> where $TEXT is a string
>
> and seem to be getting myself into trouble.
>
> Richmond
>
>
I hate it when I post too quickly.
0 ms was just too good to be true so I investigated further and found 2
errors in my code. The real figures are
10,000 Unicode
Repeat Until: 19 ms
Repeat for Each: 3 ms
100,000 Unicode
Repeat Until: 1823 ms
Repeat for Each: 30 ms
1,000,000 Unicode
Repeat Until
On Thu, Feb 20, 2014 at 10:03 AM, Bob Sneidar
wrote:
> Aren't those constants? Can you edit constants like variables?
>
No, they are variables. From the Dictionary:
Use this technique to create your own environment variables.
___
use-livecode mailing l
14 matches
Mail list logo