Alex Tweedly wrote:
Chipp Walters wrote:
Ben,
Thanks for the tests. Illuminating again. You are correct, I was actually
running my tests on shorter strings, but hundreds of them in sequence.
So it might be useful for you to try Ben's fourth (i.e. array-based)
method, but do the set-up once u
Mark Smith wrote:
One of the things that can slow Rev down in a long for loop is the
building up of a long output string (I suspect that an awful lot of
copying and moving of memory starts to happen).
I made a little test of something suggested by someone on this list
(Eric Miclo?), that is,
While we're on displacement activities :)
One of the things that can slow Rev down in a long for loop is the
building up of a long output string (I suspect that an awful lot of
copying and moving of memory starts to happen).
I made a little test of something suggested by someone on this li
Yup. I could see how that would be faster.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Chipp Walters wrote:
Ben,
Thanks for the tests. Illuminating again. You are correct, I was actually
running my tests on shorter strings, but hundreds of them in sequence.
So it might be useful for you to try Ben's fourth (i.e. array-based)
method, but do the set-up once using a script-local a
Ben,
Thanks for the tests. Illuminating again. You are correct, I was actually
running my tests on shorter strings, but hundreds of them in sequence.
best,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to sub
From the dept of "Please don't let my wife or boss know that I've been
wasting time on this"
Chipp Walters wrote:
Interesting note: I found the following results:
function altAsciiScrub2 pText
put replacetext(pText,"[" & numToChar(129) & "-" & numToChar(255) &
"]","") into pText
put
On Feb 4, 2009, at 6:45 PM, Chipp Walters wrote:
Interesting note: I found the following results:
function altAsciiScrub2 pText
put replacetext(pText,"[" & numToChar(129) & "-" & numToChar(255) &
"]","") into pText
put replacetext(pText,"[" & numToChar(1) & "-" & numToChar(31) &
"]","")
Interesting note: I found the following results:
function altAsciiScrub2 pText
put replacetext(pText,"[" & numToChar(129) & "-" & numToChar(255) &
"]","") into pText
put replacetext(pText,"[" & numToChar(1) & "-" & numToChar(31) & "]","")
into pText
return pText
end altAsciiScrub2
execut
Mark,
That should do nicely. Thanks!
On Wed, Feb 4, 2009 at 4:26 PM, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:
> Hi Chipp,
>
> Are you sure that you simply want to delete all characters above ASCII 128?
>
> put "Thîs ïs sømé tèxt" into myString
> put replacetext(myString,"["
Jim-
Wednesday, February 4, 2009, 4:11:55 PM, you wrote:
> Wild cards used in the Filter command are not the same thing as RegEx.
...although there's a long-standing (April 2005) request for this:
BZ #2805
--
-Mark Wieder
mwie...@ahsoftware.net
__
In a message dated 2/4/09 7:12:19 PM, jimaultw...@yahoo.com writes:
> It can get pretty intricate and complicated, but it is fun to solve the
> puzzles.
>
> Hope this helps.
>
Thanks, Jim.
I get it now, I just coudn't find it. IMHO, the docs should list all that in
the text, a la the "filte
In a message dated 2/4/09 6:52:55 PM, m.schonewi...@economy-x-talk.com
writes:
> Hi Craig,
>
> Did you click the link under "see also"?
>
Mark,
Yow! Thank you. Should be in the main text though, as syntax options, like
the "filter" command.
Craig
**
Great Deals on Dell Lapto
Craig wrote:
>I have
> worked with the "Filter" command (very cool) and its "special characters", as
> they
> are called in the docs. Same deal? [with RegEx]
>
Wild cards used in the Filter command are not the same thing as RegEx.
Basically, the RegEx engine in Rev is the same as the industry
Hi Craig,
Did you click the link under "see also"?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum
We are always looking for new projects! Feel free to contact us to
In a message dated 2/4/09 6:39:11 PM, m.schonewi...@economy-x-talk.com
writes:
> and click on the regular expressions link (if you
> have a version where this link works). You don't need the additional
> ampersands in your example. "[a-z]" will do (or "[a-zA-Z0-9"]).
>
Mark.
All I get with
hi Craig,
Revolution uses its own subset of regular expressions. Just read the
docs for replaceText and click on the regular expressions link (if you
have a version where this link works). You don't need the additional
ampersands in your example. "[a-z]" will do (or "[a-zA-Z0-9"]).
--
Bes
In a message dated 2/4/09 5:26:29 PM, m.schonewi...@economy-x-talk.com
writes:
> Are you sure that you simply want to delete all characters above ASCII
> 128?
>
> put "Thîs ïs sømé tèxt" into myString
> put replacetext(myString,"[" & numToChar(129) & "-" &
> numToChar(255) & "]","")
Chipp Walters wrote:
Anyone know of a quick way to convert a string to only lower ascii
128?
(Deletes anything above).
I'm hoping for something other than a repeat for each char loop.
Why don't you take the opposite approach--loop through 128 to 255?
That way you have a reasonably short
Chipp Walters wrote:
Anyone know of a quick way to convert a string to only lower ascii 128?
(Deletes anything above).
I'm hoping for something other than a repeat for each char loop.
No, I don't. But I feel there *should* be a way to do it using imagedata
and one of the transfer modes of the
Chipp Walters wrote:
Anyone know of a quick way to convert a string to only lower ascii 128?
(Deletes anything above).
I'm hoping for something other than a repeat for each char loop.
Yes and no. I know what I'd do, but don't know the regular expression
off the top of my head.
I think what y
Hi Chipp,
Are you sure that you simply want to delete all characters above ASCII
128?
put "Thîs ïs sømé tèxt" into myString
put replacetext(myString,"[" & numToChar(129) & "-" &
numToChar(255) & "]","")
--> Ths s sm txt
--
Best regards,
Mark Schonewille
Economy-x-Talk Consultin
Isn't there a lower function? Or are you saying you want to exclude
special characters?
Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM
On Feb 4, 2009, at 1:58 PM, Chipp Walters wrote:
Anyone know of a quick way to convert a string to only lower ascii
128?
(Deletes anything above
Anyone know of a quick way to convert a string to only lower ascii 128?
(Deletes anything above).
I'm hoping for something other than a repeat for each char loop.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to sub
24 matches
Mail list logo