Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7734903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:22:02+00:00 2026-06-01T07:22:02+00:00

how can I split this barcode by group separator with Progress? I’ve tried chr(29)

  • 0

how can I split this barcode by group separator with Progress? I’ve tried chr(29) without any luck.

Barcode scanned into Notepad++: https://i.stack.imgur.com/7YIbw.png

Barcode scanned into input field: 2409271405202120330017100282

Thanks.

def var c as char no-undo.
def var i as int no-undo.

update c format "x(50)".

do i = 1 to length(c):
    message substr(c, i, 1) = chr(29).
end.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:22:04+00:00Added an answer on June 1, 2026 at 7:22 am

    The problem is that GS is an undefined control code. So you need to make it be recognized.

    Add the following to your terminal’s entry in protermcap to define GS as F13:

    :(F13)=\035:\

    (The octal code for GS is \035 and F13 is an undefined function key — so the combination should work. I don’t have a scanner to test with but this works for the control codes that I can type into my keyboard…)

    Then use code like this:

    define variable bc as character no-undo format "X(50)".
    
    update bc editing:
      if lastkey = 313 then
        apply ".".  /* 313 is the code for F13 */
       else
        apply lastkey.
    end.
    

    This should cause “.” to be inserted instead of GS. Which will allow you to parse the string using “.” rather than GS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this string 8S8Q4D1SKCQC2C4S6H4C6DJS2S1C6C How can I split this string into substrings that
How, if it's possible, can I split this hash: {2011=>[46, 47, 48, 49]} Into
for example, can i do this: split = temp_string.Split(<beginning of record>) those of you
Do MySQL have any function by which I can split data of a column
How can I split a string such as Mar10 into Mar and 10 in
How can I take a multi-dimensional array like the below, and split it into
pls help me. how can I split this String value? my code below wont
How do I split this comma+quote delimited String into a set of strings: String
How can I split this line: 我 [wǒ] - (pronoun) I or me 你
Can anyone explain me this code split("[ ]+", $s); thanks $s = "Split this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.