evidenttutorials.com
Home CodeIgniter Django Go HTML JavaScript jQuery PHP Python Server SQL
Page 1 of 2. Next Last
August 31, 2025

Capitalize first character of each word in a string in Python

You can convert first character in upper case of each word in a string with using title function, but also lowercases the rest of each word. We need to call title() function on string variable or object.

Read more... 
August 30, 2025

Capitalize first character of a string in Python

You can convert first character in upper case of a string into upper case with using capitalize() function. We do call capitalize function on a string object. It makes first character uppercase and rest string in lowercase.

Read more... 
August 30, 2025

Python, get sub string

If you want to get sub string from a string so you can easily do this by getting slice, in Python. In Python, there is no built-in Substring function like in Java (str.substring) or any other language. Instead, Python relies on slice technique.

Read more... 
August 30, 2025

Python textwrap

You can wrap words after a specific number of characters in a string with using built-in module called textwrap in Python's.

Read more... 
September 02, 2024

Python String Compare

Comparison of two strings in Python is very easy task. Like integer values you can also compare string objects with the help of equal to operator (==) inside of if conditional statement.

Read more... 
September 02, 2024

Python String Concatenation

In Python you can do string concatenation through + operator. + operator is a concatenation operator for string values and it also an addition operator for numeric values.

Read more... 
September 02, 2024

Python String Length

Length is a property of a string. Through len function you can get the length of a string that means you can count the number of characters, of a particular string. If you want to count total characters of a string then you will have to pass your string as a parameter to len function which is built in Python function.

Read more... 
August 17, 2024

Python string replacement with replace() function

You can replace a character, a word or even a string from a string through replace function in Python. replace function required two string parameters to make replacement on the string first parameter old string which you want to replace and second parameter is new string with you want to replace old string.

Read more... 
August 17, 2024

Python split function

split() function is one of the most important Python’s built in function of string manipulation. Sometimes it happens that you want to convert a string's element into an array so for the same you can use split() function in Python.

Read more... 
August 17, 2024

Change string in uppercase with upper function

You can convert a string into upper case (all letters in capital letters) with using upper function in Python. The example of upper method is mentioned below:

Read more... 
Page 1 of 2. Next Last

Latest Posts

You can find latest posts below:

Capitalize first character of each word in a string in JavaScript Capitalize first character of each word in a string in Go Capitalize first character of each word in a string in Python Capitalize first character of a string in JavaScript Capitalize first character of a string in Go
About Us Privacy Policy Disclaimer