source: main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/perllib/customsorttools.pm@ 36609

Last change on this file since 36609 was 36609, checked in by anupama, 20 months ago

committing modified perl code for heritage

File size: 339 bytes
Line 
1package customsorttools;
2use strict;
3use Unicode::Normalize;
4
5# overwrite this so we don't use comma format thing.
6sub format_string_name_en_poo {
7 my ($stringref) = @_;
8
9
10 $$stringref =~ s/&\S+;//g;
11
12 $$stringref =~ s/[[:punct:]]//g;
13 $$stringref =~ s/\s+/ /g;
14 $$stringref =~ s/^\s+//;
15 $$stringref =~ s/\s+$//;
16
17}
18
191;
Note: See TracBrowser for help on using the repository browser.