Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^7: how to calculate the length for other language content in PERL?

by vasanthgk91 (Sexton)
on May 20, 2013 at 10:42 UTC ( #1034315=note: print w/replies, xml ) Need Help??


in reply to Re^6: how to calculate the length for other language content in PERL?
in thread how to calculate the length for other language content in PERL?

$release_content=$prl->trim($release_content); my $release_txt_removing_line=$release_content; $release_txt_removing_line=~ s/\n//g; $release_txt_removing_line=decode_entities($release_txt_removing_line) +; my $release_content_length=length($release_txt_removing_line); $release_txt_removing_line=encode_entities($release_txt_removing_line) +; print "==$release_content_length==";

It's working...textarea value we need to remove the \n.Thank u

  • Comment on Re^7: how to calculate the length for other language content in PERL?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034315]
help
Chatterbox?
LanX watching a rerun of Bladerunner at TV, interesting concept of future there ...
[LanX]: ... smoking is still legal.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-12-13 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (377 votes). Check out past polls.

    Notices?