Forum Discussion
SalomDesanges-c
7 years agoCommunity Member
Storyline text entry : All caps/Uppercase
Hi there !
I am working on a project with a lot of Text Entries, many of them are product references (which are written in capital letter only). I know how to use the == (ignore case) condition t...
BarryStoner-7de
4 years agoCommunity Member
Hi William, I wanted to thank you for these lines of code:
var player = GetPlayer();
var newVar = player.GetVar("TextEntry");
newVar = newVar.toUpperCase();
player.SetVar("TextEntry", newVar);
In my case I needed lowecase and your code snippet helped me out.
Many thanks,
Barry
Related Content
- 10 years ago
- 10 months ago
- 11 months ago