How-to articles, tricks, and solutions about STRING
How to check if my string is equal to null?
To check if a string is equal to null in Java, you can use the == operator.
How to check if the string is empty?
To check if a string is empty in Python, you can use the len() function or an if statement.
How to check if type of a variable is string?
You can use the type() function in Python to check the type of a variable.
How to concatenate (join) items in a list to a single string
You can use the join() method to concatenate (join) items in a list to a single string in Python.
How to convert a string to JSON object in PHP
You can use the json_decode function in PHP to convert a JSON string into a PHP object.