Sort the listBox that contains the text and numbers

Is there a script to sort a listBox control that contains the text and numbers using a button?

I would have preferred that he sort 1, 2, 10, 20, 100, not 1, 10, 100, 2, 20

Examples are part numbers: HP1457100-9, 011-2025-479, 85216, etc.

You may need to change this line:
oTarget = this,

It refers to the object to display the results.

Tags: Adobe LiveCycle

Similar Questions

  • A string into the text and numbers using SUBSTR and INSTR

    I have the sample data. I know it's terrible database designed for a combination of text and numbers in the same field, but I can't change the business process.

    That's what I have so far:

    set linesize 5000
    
    WITH table_data
         AS (SELECT 'R: JASON BOURNE 12341560' str FROM DUAL UNION ALL
             SELECT 'R: FATS DOMINO 23432342' str FROM DUAL UNION ALL
             SELECT 'R: MARTIN LUTHER KING 3334156' str FROM DUAL UNION ALL
             SELECT 'R: TOM CRUISE 6547123' str FROM DUAL UNION ALL
             SELECT 'R: TOMMY DE GROOT 1212124' str FROM DUAL UNION ALL
             SELECT 'R: GRIM REAPER 1345245' str FROM DUAL UNION ALL
             SELECT 'R: DOCTOR DEATH THE FIRST SMITH 24356178' str FROM DUAL)
    SELECT str
         , TRIM(SUBSTR(str, INSTR(str, ' ', 1, 1), INSTR (str, ' ', 1, 2) - INSTR (str, ' ', 1, 1))) first_name
         , REPLACE(SUBSTR(str, INSTR (str, ' ', 1, 2)+1, 999), SUBSTR(str,LENGTH(str)-6,7), '') last_name
         , SUBSTR(str,LENGTH(str)-6,7) emp_num
      FROM table_data;
    
    STR                                      FIRST_NAME    LAST_NAME                 EMP_NUM
    ---------------------------------------- -----------------------------------------------
    R: JASON BOURNE 12341560                 JASON         BOURNE 1                  2341560
    R: FATS DOMINO 23432342                  FATS          DOMINO 2                  3432342
    R: MARTIN LUTHER KING 3334156            MARTIN        LUTHER KING               3334156
    R: TOM CRUISE 6547123                    TOM           CRUISE                    6547123
    R: TOMMY DE GROOT 1212124                TOMMY         DE GROOT                  1212124
    R: GRIM REAPER 1345245                   GRIM          REAPER                    1345245
    R: DOCTOR DEATH THE FIRST SMITH 24356178 DOCTOR        DEATH THE FIRST SMITH 2   4356178
    
    7 rows selected.
    

    I need to:

    1 extract the first name - which is always the first name after the 'r' - I've got that little works very well.

    2 extract the name - should be the last word before the number, if e.g. for the last night, I wish only that 'SMITH' and 'KING' for the 3rd line and "GROOT" for the 5th line.

    3. remove the number at the end, regardless of the length - some of the examples above are 8 long numbers so my attempt above does not work.

    I can't use any REGEXP or REGEXP_SUBSTR because they are not registered in the EUL I'm using discoverer, I can only use INSTR AND SUBSTR.

    I was wondering if someone might be able to help please?

    Any advice much appreciated.

    Thank you

    AW, go on them, as it's Christmas, I'm feeling generous...

    SQL > ed
    A written file afiedt.buf

    1. WITH table_data (SELECT "r: JASON BOURNE 12341560' DOUBLE UNION ALL STR ')
    2. SELECT "r: FATS DOMINO 23432342' str OF DOUBLE UNION ALL.
    3. SELECT "r: MARTIN LUTHER KING 3334156' str OF DOUBLE UNION ALL.
    4. SELECT "r: TOM CRUISE 6547123' str OF DOUBLE UNION ALL.
    5. SELECT "r: TOMMY GROOT 1212124' str OF DOUBLE UNION ALL.
    6. SELECT "r: GRIM REAPER 1345245' str OF DOUBLE UNION ALL.
    7. SELECT "r: DOCTOR DEATH FIRST SMITH 24356178' FROM DUAL str.
    8                     )
    9 select substr (str, 1, instr(str,' ')-1) as a first name
    10, substr (substr (str, 1, instr(str,' ',-1)-1), instr (substr (str, 1, instr(str,' ',-1)-1),' ', 1) + 1) as last_name
    11, substr (str, instr (str, ' ',-1) + 1) as emp_num
    12 years of (select replace (str,'R: ') as str)
    table_data 13
    14*        )
    SQL > /.

    FIRST_NAME LAST_NAME EMP_NUM
    ---------------------------------------- ---------------------------------------- ----------------------------------------
    JASON BOURNE 12341560
    FATS                                     DOMINO                                   23432342
    MARTIN                                   KING                                     3334156
    TOM                                      CRUISE                                   6547123
    TOMMY                                    GROOT                                    1212124
    GRIM                                     REAPER                                   1345245
    DOCTOR SMITH 24356178

    7 selected lines.

  • I have a pdf file that contains the text if I copy all the text and paste it into Notepad and save the .txt file is it changes the ascii value of the text?

    I have a pdf file that contains the text if I copy all the text and paste it into Notepad and save the .txt file is it changes the ascii value of the text?

    If the encoding is ASCII? Laughing out loud

    Be well...

  • Is there a way to differentiate the string containing the characters and numbers?

    Hello, I created an application to read data from a serial port device. The problem is that the device, at startup, displays a block of text that contain characters describing the device. Shortly after, he displays a command prompt "command:" it's when I want my VI to enter the command to start to take action.

    I was looking at the VISA waiting on the event and looks that could be used to wait for the output device, only a "Serial character", but there is no distinction between the letters and numbers that I can tell.

    If the device is out of numbers in the reading string, of course, no need to enter the command to start to take action once again, which will probably only confuse the device. In this case, I want my VI to continue taking measures with VISA Read.

    The reason is that when I run the application, the device may have already been turned on. Send this command to the device using VISA Write is not necessary at this time.

    Any advice would be appreciated. Thank you.

    This makes it much easier.  In this case, this will do the trick.  You will notice that the bottom of the case does not match even if it has valid values inside.  The only thing that will match if the entire string is of the form XX. XXXX. Incidentally, since we are only matching numbers now, you can remove the "ignore case" Boolean as there is more important.

  • Photo Story 3 blurs the text and format of appropriate background music

    I had a lot of trouble with a blurry text on Photo Story 3. It seems perfectly fine to start, and then whenever I saw it, it's blurred beyond belief. In addition, I don't know the type of music format for the background music. What can I do to fix the text, and what file format do I for the background music?

    Many different audio formats would work but the best
    choice is always WMA or WAV. Sometimes, it can
    having problems when you save a project as a result of the use of certain
    audio formats.

    As for your photos... If nothing else... to enlarge a
    size at least equal to your screen resolution.

    That will probably not improve the appearance of the
    photos, but it will improve the text (fuzzy) pixelated
    problem.

    First of all, lets you know what is the resolution of your screen. Right
    Click your desktop, then choose Properties / Settings tab...
    Watch the screen resolution slider to see your current
    Resolution of the screen. For this tutorial, let's say your screen
    The resolution is 1024 x 768.

    If you download and install the free Win XP ImageResizer
    PowerToy it will add a 'Resize' option to the right click
    menu.

    Can resize the following free PowerToy for Windows XP
    lots of photos very quickly:

    Click on the following link and on the left, click PowerToys...

    Windows XP downloads
    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Download and install: ImageResizer.exe
    (Filename: ImageResizerPowertoySetup.exe)
    (does not work on Vista)

    Now you can open any folder containing images and
    you will have an option to resize. Just right-click the selected
    (highlighted) image files and choose resize images of
    the menu. You can select a picture or an entire group.

    The program puts in the folder with resized copies
    your originals.

    (Tip: * never * crush your originals... especially if you were)
    resizing of the originals to a smaller size)

    Resized copies will the custom word added to the
    file name so that they will not be easy to find when you are ready to add
    paste them into your photo story project.

    To ensure that images in the orientation to portrait and landscape
    are resized to the same size... go to... Advanced... and
    tick... Customize... Enter the largest number in these two areas.

    IOW... in this tutorial assuming that the screen resolution 1024 x 768...
    Enter 1024 in these two areas.

    The maximum number of Photo Story 3 photos can just a Council...
    handle is 300 and if you use a lot of movement and Transitions a
    smallest of the numbers is recommended.

    Well, the next gift can change the duration of the photos
    in an existing one. WP3 project... it can also delete... Motion and
    Transitions and also randomize the slides.

    TweakPS
    http://www.windowsphotostory.com/TweakPS

    More info on the following sites:

    WindowsPhotoStory.com
    http://www.windowsphotostory.com/

    PapaJohn
    http://Papajohn.org/
    See Photo Story 3 in the left column

    See you soon...

  • pictures page Firefox does not only show the text and links

    New office (not this one) with windows 8.1 Pro, 29 of Firefox, Norton Internet security. When I go to a lot of these images of pages of Firefox are not displayed, only the text and links. This is true for the addons page of 'get '. I can search for Add-ons, but when I try to install one, the installation fails. Will there be a security setting in windows or NIS blocking facilities as well as images of Firefox? Installing Firefox went well without error. Other sites do not have this problem.

    Another user has reported that this was due to a problem of time system. In particular, the date and time is correct, but day was set a day earlier. You can see that?

    Cannot open the view youtube. The plug-in module did open in simplified display only some images. Why?

  • Is it possible to expand the text and icons in Windows Explorer without changing its framework or my screen resolution?

    I started meeting with eyestrain from prolonged use of the computer.  Of course, I must simply reduce screen time, but may not reduce significantly again. During this time, I set it on a few minor visual adjustments that might be more favorable to the eye to me.  A change would be to increase the size of the text and folder icons in my field of Windows Explorer. I tried to achieve this expansion by increasing my overall screen resolution, but that change has become cumbersome and actually greater stress perspective.  Is it possible that I can change the size of text and icon from the Windows Explorer, without giving up its current location (details) and without affecting the size of anything else (for example, my office)?

    I know that my investigation is not in the urgent category, but I would be grateful for all the advice. (Well, almost everything...?)

    Thank you now also.

    -BJJ

    No do not trust them - it's a widespread scam underway.  They want to ask you to install support software (usually decent software, like Team Viewer, that legitimate companies use to provide assistance), but then they use it to implant viruses. Or, more often, they open an arbitrary log file, claim this means that you have a virus, and they will help you conveniently 'fix' for a fair cost.

    No one will ever 'cold call' offer to help you with your PC.

  • Acrobat Standard DC - can't change the text and text box properties

    Earlier this week, I lost the ability to change the properties of the text and text boxes.

    When I add a comment with a text box or in the text caption, I do all the time, I used to be able to change the font color, size, alignment, etc.

    Now, when I go to insert a text box or the legend, all the options in the properties bar are grayed out.

    This issue effects ONLY the text in the box and the caption functions. all the other drawing functions work very well. I can change the color, fill and the type of lines around the text, I can just change the text.

    Any suggestions?

    Thank you.

    Hello

    We have released an update today which solves the problem of the properties toolbar and now you can continue to use it outside of the app commenting as well. Please open Acrobat or Reader DC and visit help > check for updates to ensure that you are on the latest patch.

    Details on the release: https://helpx.adobe.com/acrobat/release-note/acrobat-dc-august-02-2016.html

    Please let us know how it goes.

    Thank you

    -ashu

  • How to edit a .ai (converted to a smart object) in photoshop.  I want to change the text and changed the text and graphics

    In photoshop, how to change a file .ai (converted to a smart object)?  I want to change the text and changed the text and graphics.

    Total beginner, so need help.

    Thank you very much.

    That must be edited in Illustrator.

  • I need serious help please... We do translations of textbooks, I searched an excessive type function but have been unable to find, we are working in indesign CS 5. It takes allot of time to delete the text and type in the new language.

    I need serious help please... We do translations of textbooks, I searched an excessive type function but have been unable to find, we are working in indesign CS 5. It takes allot of time to delete the text and type in the new language.

    Argh it's frustrating! I never noticed that the key was not working in InDesign.

    A bit of research and it turns out that the MS Office has this as an option in their software. But I can't find an option in the InDesign preferences to make it work.

    However, somethings do not appear in the shortcuts and preferences and are hidden triggers in InDesign that are accessible via a script.

    I'm not saying that it is possible to activate the button insert by using a script, but it is plausible that he can be activated.

    Maybe ask on the forum script? Scripting InDesign

    I know that this may be a possibility as with InDesign prior to export PDF documents interactive versions, there was previously no way to export PDFs interactive as unique pages if the gaps of.

    But the option to toggle this setting was scriptable.

  • How to set text in an object, so the object expands with the text and has even space on both sides of the object in illustrator cc?

    How to set text in an object, so the object expands with the text and has even space on both sides of the object in illustrator cc?

    R,

    You can do this:

    (1) create the initial direct Type;

    (2) in the appearance palette dialog, click on add a new fill and define the color as you wish;

    (3) effect > convert to shape > Rectangle corners round/Rectangle/Ellipse and set parent > width/extra height as you wish (essentially what needs to be added to the size of the bounding box, if anything).

    After that you can change the Type and the filled area will fit as shown on the picture.

  • Is it possible to comment "move to the back, behind the text and lines?

    Is it possible to comment "move to the back, behind the text and lines?

    I use Acrobat X Standard to 'highlight' lines to aid of comment lines 12pt width and opacity of 50% on DWG files converted to PDF.  The opacity setting makes it legible behind the highlighting of the text and the lines, but the colors do not print.  Move the highlight behind the text and existing lines would allow me to use 100% opacity with more vibrant colors.

    Before, we have highlighted by hand, but these colors do not scan or copy well.  Highlight scanning is cleaner and can be changed without restarting.  "Comment" lines can be applied by Acrobat Standard, Acrobat Pro, and Acrobat Reader, so there is an advantage.  Even more important is that the average size of a print 11 x 17 which is highlighted and scanned in color is 1000 KB, while doing it in this way, they tend to be 100-150 KB, and the text remains searchable. If there is that people are using another system, I'm open to that instead.  I did not look to do the highlighting in AutoCAD.

    Of course, everything I do is protected and cannot be shared, sorry.

    Thank you.

    Post edited by: Nathan Goldblatt

    No, this is not really an option.

  • Is there a way to create a topic with a shading behind the text and fine lines above and below?

    I work with InDesign CS6, Windows 7.

    Is it possible, using nets of paragraph, to create a heading with shading behind the text and fine lines above and below the text?

    I would like to create headers that resemble these:

    Headings.png

    Thank you!

    A way to create a style of stoke (Stripe type) with a small percentage of height up and downstairs dedicated to scratches, then apply the color out in the dialog whn would you apply the contour to your net of paragraph style. The downside to this is that the 'weight' of the two lines can vary when you change the weight of the actual race.

    To avoid this and still be able to ge the fill to expand the width of column, you can use a 1-cell table, or you could use rules above and below and underscore cutom for filling and key line with a tabulation of withdrawal right. If you need space on the left, as shown in the illustration, you would probably need a tab on the left as well, instead of a dash.

  • How can we have a column with the text and radio button in the same row?

    Hello

    I have a column that need to have data with a radio button. Has been able to achieve this by using < trh:tableLayout >. But when I select the option button it moves to the next line. You want to stop this behavior of option button to move to the next line. This column also includes a hyperlink. If the text and the hyperlink are made invisible visible based on the action of the radio button.
    Adding one more doubt. A horizontalgrid of specific columns can make invisible?
    Any help would be appreciated.

    example code:
    < trh:cellFormat id = "cf8" halign = 'Start' >
    < af:activeOutputText value = "#{rank." Actions}"id ="aot2"/ >
    < af:goLink text = ' #{rank. " Actions}"id ="gl1 ".
    clientComponent = "true" visible = "false".
    targetFrame = "_blank" destination = "http:// + #{rank." BUTTON_URL} ">"
    < / af:goLink >
    < af:selectBooleanRadio text = "" id = "sbr1" > "
    < af:clientListener method = "selectCheckBox" type = "click on" / >
    < / af:selectBooleanRadio >
    < / trh:cellFormat >

    Thank you
    Nita

    Remove the components from . Put the other components like the direct children of the PanelGroupLayout:

    
      
        
        
        
        
          
        
      
    
    

    If you need to add some space between the components horizontan, you can put (s) between components.

    Dimitar

  • GREP paragraph style (all the text and paragraphs up to $ first)

    I'm trying to use GREP style automatically style a price level and I'm struggling with something that shouldn't be so hard, but it's starting to do my head in.

    I want all of the text and the line breaks that preceded the first $ sign to use a different character Style.

    Now, I tried . + (? = \ $) but it only works on the first paragraph, the sign $ appears on, not all paragraphs leading to it.

    Any help will be greatly appreciated and if someone has a big link to GREP styling in InDesign CS4 or 5 would be too great, I had one a while ago, but I lost my bookmark and don't find it anymore.

    Sorry, I wanted to post this yesterday: here it is with shift-return:

Maybe you are looking for

  • Satellite Pro A120 - Jerky empty reading after installing new HARD drive

    Just installed a new hard drive in my Satellite Pro A120. Made a full new install Vista, installed all the drivers but video playback is choppy/jerky. Even google earth is juddery. It didn't use to be like this with the original hard drive. A I had a

  • Freezes 9.2 IOS iPhone 5s

    Since updating my iPhone IOS 9.2 5, my phone freezes intermittently for as long a 15 minutes during which no time no buttons work.  I can restart, but less than a minute, it happens again.  Yet it could gofor a day or two without a problem.  It makes

  • What wireless security

    Hello Is it not possible for me to know if my laptop supports WPA or WEP security. The model is presario R4155EA.   s/n CND5300C2V.   p/n EE997EA #ABU. Hoping someone can help with a no to a technical way to find an answer, thank you waiting...

  • JetDirect 300 x print server IP address

    I have the HP JetDirect 300 x print server (Version - H.08.67), that works very well for many years. For the moment, he has a dynamic address, but I want to change it to a static. I installed so I would use it via a browser on Windows XP Pro SP3 JetA

  • funny characters for Spanish descriptions

    Hello I recently added keywords in my apps on the supplier portal, when I saved the changes, the Spanish descriptions of my apps got funny characters to the characters of the breach and n, someone else has seen elsewhere, hope someone for RIM can loo