string - what is the difference between the \L and the lc function in Perl? -


what difference between \l , lc in perl?

where these 2 applicable?

lc function takes expression , returns lowercase version of expression. \l used way make letters in substring lower case (is terminated \e)

for example:

print lc("steve"); #prints steve    print "dow\lnlo\ead\n"; #prints download 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -