Wan t to use a little JAVA Script in Articulate to separate the first letter of a given string (and send only this single letter back again ...) May 27, 2020 By Axel Ditter Hello everybody I wan t to create a "password game" So i ask in Textfield for 4 Words e.g Hallo Ich Bin Axel I save all the 4 strings in a variable set var A = "Hallo"set var B = "Ich"set var C ="Bin"set var D ="Axel" now i want the JavaScript (or even if this somehow working direct in Articulate ...) to send back only the first letter of the input so at the end the result should be set var A ="H" set var B="I" set var C="B" and set var D="A" how can i do? cheers Axel
Axel Ditter Author almost 4 years ago05/28/20 at 4:11 am (UTC) Hello Thank you very much ..... I will give it a try today and let you kniow. cheers and thanks a lot again Axel
Axel Ditter Author almost 4 years ago05/28/20 at 7:22 am (UTC) Hello Thank you very much! Here a sample I share with the "solution":-) cheers Axel java_script_test.story
2 Replies
Hello
Thank you very much ..... I will give it a try today and let you kniow.
cheers and thanks a lot again
Axel
Hello
Thank you very much!
Here a sample I share with the "solution":-)
cheers
Axel
This discussion is closed. You can start a new discussion or contact Articulate Support.