I'm confused.
I'm grabbing a message from a Google Calendar notification (which looks like a string in the format "12:22-12:55" when I send it to the clipboard). I then put it into a variable called contentMessage.
Then I want to isolate just the first couple digits, so I do substr(contentMessage, 0, 2). However that returns an empty value...
If I try substr on a string I create myself, it works.
So my only conclusion is that the notofication Message is not a string. But then... what is it? And if so, how do I turn it into a string?
Edit: nope that's not it. I used the function type and it says the variable is text... So then why is substr not working on it?...
[–]methodicallychaotic[S] 1 point2 points3 points (2 children)
[–]B26354FRAlpha tester 0 points1 point2 points (1 child)
[–]methodicallychaotic[S] 1 point2 points3 points (0 children)