Crystal Reports How To — Split Words By Delimiter

Peter Musu`
1 min readAug 4, 2020

--

Crystal Reports How To — Split Words By Delimiter

To get third value e.g. a|b|c

global stringVar array x456 := split({Table.field},”|”);

WhilePrintingRecords; stringVar array x456; numbervar c; c := count(x456); if 4 <= c then

IF x456[4] = “” THEN //To be used if some text is different. x456[3] ELSE x456[4]

Replace: “|” with the delimiter.

Reference: https://stackoverflow.com/questions/13646859/crystal-reports-splitting-delimited-field-to-columns

https://stackoverflow.com/questions/47014245/split-crystal-report-text-field-with-more-than-one-delimiter-and-load-on-differe

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response