Combining types in output statements in C#
This tutorial shows you how you can combine types in a Console.WriteLine() output statement. For example, you can combine a string with an integer or float value. Watch the video …
This tutorial shows you how you can combine types in a Console.WriteLine() output statement. For example, you can combine a string with an integer or float value. Watch the video …
[glossary_exclude]A data type classifies various types of data eg. String, integer, float, boolean, the types of accepted values for that data type, operations that can be performed on the data …
In this tutorial you will learn how to create variables in the Java programming language. Variables are used to store data in a program. A variable is like a ‘container’ …
PHP functions covered in this tutorial: uniqid() md5() This tutorial explains how to create unique ID strings using the uniqid() function and random strings using the md5() function. Warning: The …
This tutorial shows how to use the implode and explode functions on arrays in PHP. The implode function is used to turn an array into a string, whereas the explode …
This tutorial explains how to use the substr_replace function to replace part of a string with something else. It also explains how to use the str_replace function to replace multiple …
This tutorial explains how to convert strings to uppercase and lowercase using the strtolower and strtoupper functions. These functions each take one argument – the string that needs to be …
The substr function is used to extract a portion of a string from a larger string. For example, substr can be used to extract a word from a sentence. This …
In this tutorial you will learn how to use the strpos function to find occurrences of a string within another string and then return the position (index) of an occurrence of …
This tutorial covers a few things about strings in PHP: the index of strings (each character has an index number) how to find the length of a string (how many …
This tutorial explains the range of data types that can be used in PHP including: String (letters, numbers and other characters – stored inside quotation marks) Integer (whole positive or negative numbers) Float (positive …
This source code shows how create and use variables of different data types. Strings are text (letters, numbers and characters), integers are regular whole numbers (treated as numbers), and floats …
In this second video from the beginners JavaScript tutorial series, you will learn how to create variables and work with strings, integers, and float data types in JavaScript. Variables are …