Quantcast
Channel: UltraEdit, UltraCompare, UEStudio forums
Viewing all articles
Browse latest Browse all 307

Scripts • How to change the case of words in title of page?

$
0
0
Hi all!

I try to select text for proper title casing by a script. The script is attached.

I tried this example for testing the casing of page title.

Code:

<title>FROM SAMPLE <italic>PLOTS</italic> IN A WOOD TO WOODS IN A LANDSCAPE U.S.A.: AN INTERDISCIPLINARY APPROACH (<xref ref-type="bib" rid="Ref4">REF. 4</xref>)</title>
I selected the above text before running the script. The script execution result is:

Code:

<title>from Sample <italic>Plots</italic> in a Wood to Woods in a Landscape U.s.a.: an Interdisciplinary Approach (<xref ref-type="bib" rid="Ref4">Ref. 4</xref>)</title>
The proper casing should be:

Code:

<title>From Sample <italic>Plots</italic> in a Wood to Woods in a Landscape U.S.A.: An Interdisciplinary Approach (<xref ref-type="bib" rid="Ref4">Ref. 4</xref>)</title>
The phrase <title>from should be <title>From, the country abbreviation U.s.a. should be U.S.A. and the phrase  : an should be : An.

Can anyone help me.

statistics: Posted by Samir9:19 - Today — Replies 1 — Views 23



Viewing all articles
Browse latest Browse all 307

Trending Articles