Get the count of Whitespace in the xml contents

Explorer ,
Apr 13, 2022 Apr 13, 2022

Copy link to clipboard

Copied

Hi,

I need to fetch the count of empty/Whitespace using a script, i have attached the image below, in that the content values within CDATA need to be dispalyed. How do i do this???????????

 

MonishaRajendran_0-1649844352619.png

 

-Monisha
TOPICS
How to , Scripting

Views

49

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 15, 2022 Apr 15, 2022

Copy link to clipboard

Copied

LATEST

Hi,

 

If you just load the CDATA values into a string and do a regex replace on it for all characters ( not including white space) the length of the string that is left would be white space?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines