Hey guys, I have little to no experience with this language, but I'm managing to temper with code well enough.
I'm trying to write to commands that will search a text file for a specific text entered by a user and input that text into a variable, but I want the search to be case insensitive.
current code looks like this:
var %song $2-
%song = $read(Catalog.txt, nr, %song)
$2- is the string of text input by the user
The text file is a list of songs, each song in a different line, words starting with capital letters.
At the moment it works perfectly fine. Thing is it can only find the text i want if I use upper case letters correctly. How can I make it case insensitive? Thx in advance.