Discuss Scratch

studentADo
Scratcher
7 posts

I think this block would be useful in the operators tab

(Word (1) of ())

Last edited by studentADo (June 3, 2023 16:47:32)

The_Blue_J
Scratcher
1000+ posts

I think this block would be useful in the operators tab

studentADo wrote:

(Word (1) of ())
What a word is is uncertain.. does it detect anything between spaces as a word?
medians
Scratcher
1000+ posts

I think this block would be useful in the operators tab

Am I misunderstanding, or would this be a workaround?

ScratchCat1038
Scratcher
1000+ posts

I think this block would be useful in the operators tab

medians wrote:

(#3)
Am I misunderstanding, or would this be a workaround?
-snip-
Yep. I tested it.

Maybe you could specify what marks the end of a word: I have an encode-decode function that separates the numerical codes of characters with a zero, and this would be very useful for it. I adjusted medians's workaround to have this function: (you might have to zoom in to see it clearly)

Last edited by ScratchCat1038 (June 3, 2023 20:39:55)

Powered by DjangoBB