[VicPiMakers Projects] Jims challenge in google sheets + a bit of javascript in google apps

George Bowden gtbowdeng at gmail.com
Tue Oct 20 03:38:42 EDT 2020


Here is my answer
<https://docs.google.com/spreadsheets/d/1OFoQq69r5HlJ1udis0htAQqiEsLxvUcoZu9iSEuAeH0/edit?usp=sharing>
to Jims challenge in google sheets + a bit of javascript in google apps
I spent days seeing how to do this in forth language, but gave in to my
weaker self...

My inputs are limited to 26 numbers.  Well, everyone has their limits
<grin>.
Here is the javascript for #9.

function myF(str) {
  var returnStr="";
  for (let i = 0; i < str.length; i++) {
     var c = str[i];
     if((c >= 'A') && (c <= 'Z')) {           // Concatenate the next char
only if it's a capital letter.
       returnStr=returnStr+c;
     }
  }
  return returnStr;
}

I couldnt understand question 5.

-- 
George Bowden,
gtbowdeng at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201020/7dd0642d/attachment.htm>


More information about the Projects mailing list