Monday 24 December 2018

Javascript: How to check if a string is empty?








I know this is really basic, but I am new to javascript and can't find an answer anywhere.



How can I check if a string is empty?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...