Tag Archives: Strings

PHP – Strings

PHP – Strings Strings are considered as a sequence of characters. You can use the strings within single or double quotes, without quotes you will not be able to perform string operations. Even if you want an integer to represent as string you can enclose that integer within quotes, it will be typecast as a string. Both single… Read More »

C++ Strings

A String is a one-dimensional array of character data types which ends with a null value represented by ‘\0’. The array of character always terminates with a null value, so if there is a character array(string) of size 6 and it has only 5 elements filled, so the 6th place would be a null value. To initialize a… Read More »