BSFN to substring by delimiter

ag_cjc

Active Member
Does anyone know of a business function that I can pass in a string and a delimiter and have it return two strings? I'm trying to substring our swift code in the F0030, which has a "/" dividing it. I could substring the SWFT field, character by character, and look for the "/", but a business function would be a lot cleaner.
 
TrimToChar will get you what you want, but you'll have to use it twice - once for the left and once for the right substring. It is well documented - well it WAS well documented, I haven't looked lately, but if you need elaboration after looking at it, let us know.

Ben again
 
Ben,

Where is this TrimToChar function ? in OneWorld, in 'C', ... ?

Christian Audet
 
Christian,

Not to butt in.....but, you will find it in source module B0800002.

Barry
 
ANNNNNNNND it was written by the only developer I ever met who could populate 6,000 records into a OneWorld grid in less than a second!

Ben again
 
Back
Top