Plual names question.

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Yukiko
Distro Developer
Posts: 2501
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Plual names question.

Post by Yukiko » Wed May 02, 2018 9:07 pm

I know how to pluralize a name under normal circumstances.

Name pear%s%

But I have an item where the end of the word changes depending on whether it is singular or plural.
For example, the word leaf (singular) and leaves (plural). Does POL have a way to handle words such as that?
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Turley
POL Developer
Posts: 644
Joined: Sun Feb 05, 2006 4:45 am

Re: Plual names question.

Post by Turley » Thu May 03, 2018 9:05 am

Of course ;)
It's eg
start%plural/singular%rest
So in your example it should be
lea%ves/f

Btw try:
uotool formatdesc lea%ves/f

Yukiko
Distro Developer
Posts: 2501
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Plual names question.

Post by Yukiko » Thu May 03, 2018 11:08 am

Thank you Turley.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Post Reply