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.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
Misc
8.8K+ articles
Perl
265+ articles
Perl-function
59+ articles
Perl-String
9+ articles
Perl-Inbuilt-Functions
5+ articles
Perl-String-Functions
14 posts
Recent Articles
Popular Articles
Perl | Useful String functions
Last Updated: 30 June 2019
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-function
Perl-String-Functions
Perl | chomp() Function
Last Updated: 13 April 2023
The chomp() function in Perl is used to remove the last trailing newline from the input string.Syntax: chomp(String) Parameters: String : Input String whose trailing newli...
read more
Perl
Perl-function
Perl-String-Functions
Perl | chr() Function
Last Updated: 21 November 2021
The chr() function in Perl returns a string representing a character whose Unicode code point is an integer.Syntax: chr(Num)Parameters:Num : It is an unicode integer value...
read more
Perl
Perl-function
Perl-String-Functions
Perl-Inbuilt-Functions
Perl | chop() Function
Last Updated: 07 May 2019
The chop() function in Perl is used to remove the last character from the input string.Syntax: chop(String)Parameters:String : It is the input string whose last characters...
read more
Perl
Perl-function
Perl-String-Functions
Perl | uc() Function
Last Updated: 07 May 2019
uc() function in Perl returns the string passed to it after converting it into uppercase. It is similar to ucfirst() function which returns only first character in upperca...
read more
Perl
Perl-function
Perl-String-Functions
Perl | sprintf() Function
Last Updated: 07 May 2019
sprintf() function in Perl uses Format provided by the user to return the formatted string with the use of the values in the list. This function is identical to printf but...
read more
Perl
Perl-function
Perl-String-Functions
Perl | rindex() Function
Last Updated: 20 November 2019
rindex() function in Perl operates similar to index() function, except it returns the position of the last occurrence of the substring (or pattern) in the string (or text)...
read more
Perl
Perl-function
Perl-String-Functions
Perl | ord() Function
Last Updated: 07 May 2019
The ord() function is an inbuilt function in Perl that returns the ASCII value of the first character of a string. This function takes a character string as a parameter an...
read more
Perl
Perl-function
Perl-String-Functions
Perl-Inbuilt-Functions
Perl | quotemeta() Function
Last Updated: 07 May 2019
quotemeta() function in Perl escapes all meta-characters in the value passed to it as parameter.Example: Input : "GF*..G" Output : "GF\*\.\.G"Syntax: quotemeta(value)Param...
read more
Perl
Perl-function
Perl-String-Functions
Perl | length() Function
Last Updated: 25 June 2019
length() function in Perl finds length (number of characters) of a given string, or $_ if not specified.Syntax:length(VAR)Parameter:VAR: String or a group of strings whose...
read more
Perl
Perl-String
Perl-function
Perl-String-Functions
Perl | lc() Function for Lower Case Conversion
Last Updated: 13 April 2021
lc() function in Perl returns a lowercased version of VAR, or $_ if VAR is omitted.Syntax: lc(VAR)Parameter:VAR: Sentence which is to be converted to lower caseReturn:Lowe...
read more
Perl
Perl-String
Perl-function
Perl-String-Functions
Perl | lcfirst() Function
Last Updated: 25 June 2019
lcfirst() function in Perl returns the string VAR or $_ after converting the First character to lowercase.Syntax: lcfirst(VAR)Parameter:VAR: Sentence whose first character...
read more
Perl
Perl-function
Perl-String-Functions
Perl | index() Function
Last Updated: 06 March 2023
This function returns the position of the first occurrence of given substring (or pattern) in a string (or text). We can specify start position. By default, it searches fr...
read more
Perl
Perl-String
Perl-function
Perl-String-Functions
Perl | String functions (length, lc, uc, index, rindex)
Last Updated: 26 June 2019
String in Perl is a sequence of character enclosed within some kinds of quotation marks. Perl string can contain UNICODE, ASCII and escape sequence characters. Perl provid...
read more
Perl
Perl-String
Perl-function
Perl-String-Functions
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 !