Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.5K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Perl
265+ articles
perl-operators
20+ articles
Perl-String
9+ articles
Perl-String-Operators
15 posts
Recent Articles
Popular Articles
Perl | Useful String Operators
Last Updated: 21 May 2021
A string in Perl is a scalar variable and start with a ($) sign and it can contain alphabets, numbers, special characters. The string can consist of a single word, a group...
read more
Perl
Perl-String
Perl-String-Operators
Perl | qw Operator
Last Updated: 17 March 2023
The qw operator in Perl is used to extract each element of the given string as it is in an array of elements in single-quote ( ' ' ). This function stands for quote word b...
read more
Perl
perl-operators
Perl-String-Operators
Perl | y Operator
Last Updated: 07 May 2019
The y operator in Perl translates all characters of SearchList into the corresponding characters of ReplacementList. Here the SearchList is the given input characters whic...
read more
Perl
perl-operators
Perl-String-Operators
Perl | tr Operator
Last Updated: 11 February 2022
The tr operator in Perl translates all characters of SearchList into the corresponding characters of ReplacementList. Here the SearchList is the given input characters whi...
read more
Perl
perl-operators
Perl-String-Operators
Perl | ne operator
Last Updated: 07 May 2019
'ne' operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to check if the string to its left is stringw...
read more
Perl
perl-operators
Perl-String-Operators
Perl | cmp Operator
Last Updated: 07 May 2019
cmp operator in Perl is a string equality comparison operator used to compare if the two strings placed left and right to this operator are equal or less than the other.Sy...
read more
Perl
perl-operators
Perl-String-Operators
Perl | eq operator
Last Updated: 07 May 2019
'eq' operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to check if the string to its left is stringw...
read more
Perl
perl-operators
Perl-String-Operators
Perl | le operator
Last Updated: 07 May 2019
'le' operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to check if the string to its left is stringw...
read more
Perl
perl-operators
Perl-String-Operators
Perl | gt operator
Last Updated: 07 May 2019
'gt' operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to check if the string to its left is stringw...
read more
Perl
perl-operators
Perl-String-Operators
Perl | ge operator
Last Updated: 07 May 2019
'ge' operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to check if the string to its left is stringw...
read more
Perl
perl-operators
Perl-String-Operators
Perl | lt operator
Last Updated: 07 May 2019
'lt' operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to check if the string to its left is stringw...
read more
Perl
perl-operators
Perl-String-Operators
Perl | substitution Operator
Last Updated: 07 May 2019
Substitution Operator or 's' operator in Perl is used to substitute a text of the string with some pattern specified by the user.Syntax: s/text/patternReturns: 0 on failu...
read more
Perl
perl-operators
Perl-String-Operators
Perl | q operator
Last Updated: 07 May 2019
q operator in Perl can be used in place of single quotes. It uses a set of parentheses to surround the string.Syntax: q (string)Returns: a single-quoted string.Note: Any s...
read more
Perl
perl-operators
Perl-String-Operators
Perl | qq operator
Last Updated: 07 May 2019
qq() operator in Perl can be used in place of double quotes. It uses a set of parentheses to surround the string.Syntax: qq (string)Return:a double-quoted stringNote: Any ...
read more
Perl
perl-operators
Perl-String-Operators
Perl matching operator
Last Updated: 07 May 2019
m operator in Perl is used to match a pattern within the given text. The string passed to m operator can be enclosed within any character which will be used as a delimiter...
read more
Perl
Perl-String
perl-operators
Perl-String-Operators
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !