Hi.
I am not sure why (can't test right now)
But maybe you can use "Get String Length" and then an "int Compare" to see if length is 0"
Great idea thanks, will test it later and let you know how it goes, cheers!
Hmm think it might be something wrong/weird on my end. When I check the string length it's returning as 1 character, though it appears to be empty. If I force set this string again to blank first using Set String 2, then it returns the correct value of 0.
I am retrieving the string from a Room Custom Property though, so I don't know if that may be causing the issue somewhere. (Essentially using this to make a room password system, and checking if a password is set or not). I'll keep playing around and let you know if I get anywhere - thanks for your help so far!
Edit: Okay, so I think I've found the problem! Bit of a weird one, not sure if it's a bug. Basically, on creating a photon room, I've got a UI Input Field where you can set a password. But whenever I retrieve the text from this Input Field and get the string length, it always counts an additional character, whether it's empty or with a password typed in -- it must be adding an additional 'space' or something when I retrieve the text string I'm guessing. If I put the retrieved string through String Trim it returns the correct amount of characters and everything works as expected - happy days!