Hi,
I’m trying to get relevance to return a value from a text file.
((following text of first “,” of it as trimmed string) and (preceding text of first “;” of it as trimmed string) of lines whose (it starts with “Wake Up on Alarm”) of it) of file “C:\Lenovo_BIOS_Wake_settings.log”
Log file contents:
Wake Up on Alarm,User Defined;[Optional:Single Event,Daily Event,Weekly Event,Disabled,User Defined]
I need the whole statement to return ‘True’ if the value after the first ‘,’ and before ‘;’ is “User Defined.” What I have isn’t doing it. What am I doing wrong?
Results: E: The operator “first” is not defined.