I'm doing a simple feedback survey which asks someone to rate their experience from 1-5, except I'm using emojis to represent those numbers. So the options are: 😠,🙁,😐,🙂,😀
I tried composing an array but I couldn't find an expression that searches the array and returns the index number. Something like getindex(array,item)
But I thought there might be a simpler way as my array will never change.
Solved! Go to Solution.
Sorry, I'm not following. The output from the choice of otions is going to be for arguments sake: terrible, bad, indifferent, good or great. So I create an aray:
So terrible is index 0, great is index 4. What function can I use to give it one of those strings and have it output the index (0-4)?
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.