It has been to long without a Daily Challenge. I guess this one isn’t to hard.
Censor Words Longer Than Four Characters
Create a procedure that takes in a string and returns the string but with words over four characters to be censored with * .
Examples
censor('The code is fourty') ➞ 'The code is ******'
censor('Two plus three is five') ➞ 'Two plus ***** is five'
censor('aaaa aaaaa 1234 12345') ➞ 'aaaa ***** 1234 *****'
Notes
Don’t censor words with exactly four characters
If all words have four characters or less, return the original string
The amount of * is the same as the length of the word
By the way, each time I tried to build the apk file, I got a parse error at install time, on two different Android devices. I had to duplicate the development on Thunkable (!!) to manage to get it through and test it. Can anyone point to what I should be tweaking on Kodular?
This (by the way, that reduces block count to 25, but at the cost of additional memory usage) is also slapped with a parse error message at installation.
I was more expecting the issue to be along the line of having incompatible sdk, but trying different API level makes no difference.