On Thu, 2 Nov 2017 13:01:13 -0400, Glenn Knickerbocker <[email protected]> wrote:
>To pick out PTF numbers from freeform text, I'm splitting on anything >that's not alphanumeric and then looking for U as the first character, >etc. I just had a problem where somebody accidentally ran the APAR and >PTF numbers together into PI86281UI51100, so I didn't find the PTF >number. My code *should* be short-lived, and I could SPLIT BEFORE ANYOF >'OPU' to handle our current APAR and PTF prefixes, but we all know how >many decades later we fall into those traps. Am I overlooking some >simple way (short of resorting to PATTERN) to split before a letter that >follows a number? > >¬R | insert / / after 7 ? -- Dale R. Smith
