String - page 3

PostgreSQL Substring Function
The PostgreSQL Substring function helps in extracting and returning only a part of a string. The first character of the string is at position 1. If th...
How to Use maketrans in Python 3
How do you use Maketrans in Python? What is Maketrans function in Python? How do I translate in Python 3? How do I install Maketrans? How do you trans...
PHP String Concatenation
How do you concatenate in PHP? Can you concatenate strings? Which of the following is used to concatenate strings in PHP? How strings are declared in ...
10 most useful Python String Methods
The 10 most useful python string methods are explained in this article. Use of format() method. ... Use of find() method. ... Use of replace() method....
Python String Formatting
How do you format a string in Python? What is a formatted string in Python? What does %d do in Python? How do you write an F-string in Python? How do ...
How to check if string contains specific word in PHP
How do you check if a string contains a specific word in PHP? How do I check if a string contains a word? How do I match a string in PHP? How do I fin...
Python String Operations
Python String Methods Method Description istitle() Returns True if the string follows the rules of a title isupper() Returns True if all characters in...
Bash Split String Examples
How do I split a string in bash? How do you split a line using delimiter in Unix? How do you split a string based on? How do you split a string into a...
Capitalize the first letter of a string with python capitalize() function
In Python, the capitalize() method returns a copy of the original string and converts the first character of the string to a capital (uppercase) lette...
bash if else string compare
Comparison Operators When comparing strings in Bash you can use the following operators string1 = string2 and string1 == string2 - The equality operat...
js remove first character from string
How do I remove the first character of a string? How do you remove the first and last character of a string? How do I remove the first and last charac...
js remove letters from string
How do I remove a specific character from a string? How do I remove text from a string? How do I remove a character from a string in node JS? How do y...