Tagged: string


What Is String Data Type In JavaScript, Java, Python, C# , PHP, C, C++, PowerShell Programming Languages?

String is a very popular data type which can be used in different programming languages like JavaScript, Java, Python, C#, PHP, C, C++, PowerShell.  String is mainly used to store characters like a text. Alternative data types are an integer, floating point, etc where they are mainly used for mathematical...


strcmp() C Library Function Usage with Examples

C programming standard library provides strcmp() function in order to compare two strings and return the results whether they are identical or different. Syntax and Parameters As stated previously strcmp() function takes two char array or string arguments.

const char* str1 is the first string or char array which will be...


How To Convert String To Int (Integer) In Java?

Java programming language provides different variable type. One of the most used types are String and Int or integer. During the usage of these variable types we may need to convert them. In this tutorial we will examine string to int and int to string variables types conversion in Java...


C – Printf Tutorial with Examples

C and C++ programming language a printf function which is used to print given values or data to the standard output or current terminal. printf supports different formatting types. In this tutorial we will look them in detail. Syntax Syntax of printf is like below.

Print printf function can be used simply just...


Php – Operators

[rps-include post=6522] We have almost learned the variables and related types. But just variables do not enough to create useful applications. We generally need to operate over these variables and data. Operators are a way to operate on variable and data. For example if we need to sum two integer...


Php – String Variable Type

[rps-include post=6522] Php have variable type string to store text,char or string values. String type generally used to store values like name, surname, explanations, address, questions. String variables do not have any size or length limit theoretically. The only limit is the system memory limit. String can be defined in two...

Enjoy this blog? Please spread the word :)