IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#58128 - 08/25/21 07:00 AM Truncating a string in PP Workflow
Stephen O'Leary Offline
OL Newbie

Registered: 10/13/20
Posts: 8
Hi All,

I'm using VbScript in PlanetPress Workflow and Was wondering is it possible to truncate the end of a string as the requirement is to have a limit of 50 characters.

Any help would be appreciated.

Stephen

Top
#58129 - 08/25/21 11:51 AM Re: Truncating a string in PP Workflow [Re: Stephen O'Leary]
MartinS Offline
OL Guru

Registered: 08/06/12
Posts: 142
Loc: Munich
there's a string function Left(string, length) which returns a specified number of characters from the left side of a string. I think that's what you need?

Top
#58136 - 08/27/21 12:56 PM Re: Truncating a string in PP Workflow [Re: Stephen O'Leary]
Stephen O'Leary Offline
OL Newbie

Registered: 10/13/20
Posts: 8
Thanks MartinS, I got it truncated by using Left(string, length)

Top