IDNLearn.com provides a reliable platform for finding accurate and timely answers. Ask your questions and receive reliable, detailed answers from our dedicated community of experts.

PLEASE PLEASE BELP


Below is a function called "foo", which is passed a value, and returns a value.
What would the return of the foo function be if it were passed the following value?
39:
foo("JOHN SMITH")
function foo parameter p1
if occurs(' ,p1) > 1
m.ReturnValue = substr(p1,at(" p1,2)+1)
else
if occurs(' ',p1) = 1
m.ReturnValue = substr(p1,at(' 'p1,1)+1)
else
m.ReturnValue = p1
endif endif

return m.ReturnValue


PLEASE PLEASE BELP Below Is A Function Called Foo Which Is Passed A Value And Returns A Value What Would The Return Of The Foo Function Be If It Were Passed The class=

Sagot :

We greatly appreciate every question and answer you provide. Keep engaging and finding the best solutions. This community is the perfect place to learn and grow together. IDNLearn.com has the answers you need. Thank you for visiting, and we look forward to helping you again soon.