[Ke...] Posted September 24, 2019 Share Posted September 24, 2019 In constructing a name definition in PCM syntax, how is the getRecordHead("partnbinc") character string modified to use only a substring of characters, or in my case the 19-24th characters of a longer character string? This question applies to the Name definitions for output files. Thanks for any assistance. Link to comment Share on other sites More sharing options...
[Er...] Posted September 24, 2019 Share Posted September 24, 2019 Here is one simple way. But this assumes you always like to have the characters 19-24. subStr(getRecordHead("partnbinc"),19,24) Link to comment Share on other sites More sharing options...
[Ke...] Posted September 25, 2019 Author Share Posted September 25, 2019 Please sign in to view this quote. Eric, Thanks for the assist. Worked in this instance where I am required to extract a part number from a scanned bar code string. Appreciate the help! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in