Removing extra text after a certain point for a field

Post Author: ralph.devlin
CA Forum: Formula
Hello,
What we want to do is remove extra text, IE (PO12345.195) We would want to remove the .195 from the end of that data so that the groupings will group them correctly. How can I accomplish this. The defaul trim commands seem to only elimnate white space, I want to elimnate text up to a certain point. thanks
Ralph

Post Author: Charliy
CA Forum: Formula
You want to do an INSTR to locate the period, then a LEFT to only show the data before it.  Something like:
IF INSTR({table.field},".") > 0 THEN LEFT({table.field},(INSTR({table.field},".") )-1) ELSE {table.field}
I subtracted 1 because in your example above the period is in position 8 and you want the first 7 characters.

Similar Messages

  • Gain control freezes after a certain point (cannot get highlights to 100) with colorwheel mode

    I just purchased Adobe CC, (Switching from FCP 7, did not want to upgrade to FCP X).  Really loving SpeedGrade (was an Apple color user)
    I am using a standard iMAC keyboard and magic mouse (iMAC 27")
    In colorwheel mode:  After setting the blacks to 0 with the offset wheel, I try to move the gain wheel to the right, to get my highlights to 100.  Even when holding shift, I have to click and drag several times to move the pointer.  I cannot move it in one motion.  Even then, the pointer will literally stop or "freeze" at about the 3 o'clock position.  In order to get my highlights to 100, I have to switch to the Editbox mode and scroll the numbers up manually.  I cannont do it with the colorwheel mode.
    Very frustrating.  Any advice?

    Thank you so much for your prompt response.  After I posted my question, I looked online and found some users had the exact same issue and found the solution.  It is in the way you move the mouse:
    When clicking on the indicator for a color wheel, my impulse was to move the mouse in a downward circular motion, to mimic the round path of the wheel.  This appears to not work and makes the indicator "freeze" after a certain point.
    When clicking on the indicator and then moving the mouse laterally, directly to the left or right on a mouse pad (or desk), it moves the color wheel indicator all the way down to either end.  When moving the mouse this way, it seems to work.  I hope I’m explaining this clearly.
    To answer your question, yes the issue was with the Offset and Gamma wheels as well.  But since the particular adjustment for these was not as much, I didn't realize it.  But the gain adjustment I was doing was more severe, which is why I thought it was just the gain wheel adjustment.
    So it appears it was the way you move the mouse to adjust the color wheel - which should be left and right.
    I really am enjoying Speedgrade much more than Color.  I was a huge Color fan as well and very upset when Apple discontinued it.  I am very happy I found SpeedGrade and look forward to learning it more in depth.  My next challenge is to find out how to use the SG color wheel controls to mimic curve adjustments.

  • Want to add Custom text after Product Branding Image for application

    Hi
    Can we add any text after Product Branding Image for application
    By default it will show the responsibility function name
    My requirement is after company logo I want to add Text at the top of application
    with center align
    Need suggestions
    Regards
    Krishna

    Hi Anoop
    If I done what u suggested then the function responsibilty name will also come
    and the application will be disturbed
    Is their a way to edit the text at the top
    Regards
    Krishna

  • Removing characters from string after a certain point

    Im very new to java programming, so if this is a realy stupid question, please forgive me
    I want to remove all the characters in my string that are after a certain character, such as a backslash. eg: if i have string called "myString" and it contains this:
    109072\We Are The Champions\GEMINI
    205305\We Are The Champions\Queen
    4416\We Are The Champions\A Knight's Tale
    a00022723\We Are The Champions\GREEN DAYi would like to remove all the characters after the first slash (109072*\*We...) leaving the string as "109072"
    the main problem is that the number of characters before and after is not the always the same, and there is often letters in the string i want, so it cant be separated by removing all letters and leaving the numbers
    Is there any way that this can be done?
    Thanks in advance for all help.

    You must learn to use the Javadoc for the standard classes. You can download it or reference it on line. For example [http://java.sun.com/javase/6/docs/api/java/lang/String.html|http://java.sun.com/javase/6/docs/api/java/lang/String.html].

  • Removing Extra Space after Crop?

    I have tried to find a solution for this problem and haven't found an answer so maybe someone can help me.
    I am editing some videos and I want to crop out a large section of them. When I use the crop tool it removes the part of the video no problem -- but then I am left with a small section of video and a huge black area (where what I removed used to be). I can resize the video but it doesn't let me actually remove the black area for some reason -- also I can't seem to move the new video at all (its in the upper left hand corner of the cross hairs and the entire rest is black). Is there any way to remove the excess or export my newly cropped video (and not the blank space)?
    Thanks for all of your help

    Park the playhead in the Timeline at a suitable reference point for your cropping/enlarging.
    In the Canvas, select Image + Wireframe in the box at the top center of the window.
    Select the clip to load it into the viewer.
    Use the crop tool to adjust the image to your liking. You can also drag the copped image around the Canvas window while the cursor displays as four-direction arrows.
    Now go to the Motion tab in the Viewer and scale up the image as needed, using the Scale settings in the Basic Motion section.
    Be aware that the more you enlarge, the more pixelated the image will become.

  • How to display texts automatic. besides entered value for a field in Trans.

    How to display texts automatically besides the entered value for a field in a standard transaction screen. For example you have a value table and a text table associated to it. Then on entering the value field and pressing enter the text associated should get displayed immediately besides the value. Like if you have 'LOC' as the value and 'Location' as the text associated to it, on entering this value 'LOC', you automatically get the text 'Location' printed besides it automatically in a transaction screen ?
    Message was edited by: Sarika Kedia

    Hi sarika,
    Welcome to SDN.
    1. first of all, such display of text,
       is not automatic.
       (it appears to be automatic)
    2. At design time,
       a) take one extra field for text
         and mark it as OUTPUT ONLY
    3. Then in PBO coding,
        call some module, and in that module
        write code
    4. The code should be to
       select from TEXT Table
       into the work area.
    EG. THE SCREEN TEXT FIELD NAME IS
    T510A-FIELDNAME.
    CLEAR t510a.
      SELECT SINGLE * FROM t510a INTO t510a
      WHERE trfar = FIELVALUE.
    5. This will take care of
       displaying the text value of that field.
    regards,
    amit m.

  • Can we select Domain text instead of domain value for a field?

    Hi all,
    I have a requirement to display Domain text in the output. when I select a field from table, for example field ZZDIRECT from LFA1 table, it has domain value range as D and I with texts Direct/Indirect. is there any way to get these texts for displaying in the output.

    Hi,
    C the below code, it may guide u...
    DATA: int_domval TYPE dd07v OCCURS 0 WITH HEADER LINE.
    SELECT DOMNAME VALPOS DOMVALUE_L DOMVALUE_H
    into int_domval
    from dd07v
    where domname = Domain Name
    and ddlanguage = sy-langu.
    or use this FM.
    DATA : BEGIN OF int_orient OCCURS 10,
    domvalue_l LIKE dd07v-domvalue_l,
    ddtext LIKE dd07v-ddtext,
    END OF int_orient.
    DATA: ZPETS_PORTORIEN type dd07l-domname,
    int_values_table TYPE dd07v OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'GET_DOMAIN_VALUES'
    EXPORTING
    domname = 'ZPETS_PORTORIEN'
    text = 'X'
    TABLES
    values_tab = int_values_table
    EXCEPTIONS
    no_values_found = 1
    OTHERS = 2.
    LOOP AT int_values_table.
    int_orient-domvalue_l = int_values_table-domvalue_l.
    int_orient-ddtext = int_values_table-ddtext .
    append int_orient.
    ENDLOOP.
    Regards.

  • How do I remove extra space after an image in an ePub created with InDesign?

    I've designed more than a dozen ebooks with InDesign and have recently been having problems with the spacing after images, both images that are anchored in the text or stand-alone and exported through the Articles Panel. Following are a few details:
    • In the Object Export Settings, I have the vertical spacing set to 0 both before and after the images and no breaks added.
    • In the Export panel, I do not have any vertical spacing applied to images.
    • I do not have any Object Style settings applied.
    • It doesn't seem to matter if I anchor the image into the text or have it as a stand-alone image in the Articles Panel with the caption after it in a separate text box, also in the Articles Panel.
    • I broke down the ePub into an html file and did not see any div or span classes that were different between images that are showing correctly vs. incorrectly.
    • Extra space appears in both iBooks on my computer, as well as on my iPad.
    • I converted to a mobi file for the Kindle and the space wasn't there.
    See attached screen shot. There shouldn't be that big gap between the image and the orange caption.
    Any help or suggestions anyone can provide would be greatly appreciated. I feel like I've tried everything I can think of with the same results over and over!

    Yes. That is the technique I traditionally use to drop an image into text. I even cut and pasted again as you suggested with the same result. Trust me, this is driving me nuts. I'm not doing anything different than before, but my results are different, even within the same document. I'll attach a few examples, all from this same document.
    How the space after my in-line image is supposed to look:
    And then a few of the pages with the mystery gap:

  • HOW to remove the decimal points for particaular field

    hi friends,
    Iam printing the quntity in decimal mode like 2.000.
      but i want to print this as only 2.
      How can i remove the the decimal in smart form..
    Iam  printing  amount as 1234.00000.
    But i have to print two zeros after decimal point..how can i remove zeros .
    appricioate for u r answers..
    regards,
    sampath kumar

    You may use the option
    field(.0) for printing the quantity
    field(.2) for printing the amount..
    Go through SAP help given below..
    <b>Number of Decimal Places
    A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value.
    Syntax
    &symbol(.N)&
    The EKPO-MENGE field contains the value 1234.56. The Dictionary definition specifies 3 decimal places and an output length of 17.
    &EKPO-MENGE& -> 1,234.560
    &EKPO-MENGE(.1) -> 1,234.6
    &EKPO-MENGE&(.4) -> 1,234.5600
    &EKPO-MENGE&(.0) -> 1,235</b>

  • Social LIKE/SHARE : remove extra text alongside icons?

    Top right: http://aa14.businesscatalyst.com/index.html
    has the accompanying text on how many people like this apge, can I leave the icons and delete the text.
    Also have been trying to reduce the icons/buttons to approx 80% of actual size, but I haven't figured out how.
    BTW, I've been with MU since the beginning and lots of great changes have taken place, even the help on this forum has gotten to be outstanding. Thanks for all the effort into making a great product.

    Hi
    You can use the FB like code and uncheck share , this would remove the share "be the first..."
    https://developers.facebook.com/docs/plugins/like-button
    Other text can be removed using the workaround mentioned here :
    http://stackoverflow.com/questions/7543694/how-can-i-remove-the-people-like-this-message-n ext-to-facebook-like-button
    For resizing , I have explained here :
    http://forums.adobe.com/message/6110428#6110428
    Thanks,
    Sanjit

  • Removing .bak files after a certain time

    I am new to automator but was wondering if the following can be done...
    after saving a file in autocad it always creates a .bak file. now can automator for selected folders and after a time period of time after the .bak files has been crated, this automatically delete this files. and i mean only .bak files that are for instant more then a week old....
    if so, can someone explain me a little how this can be achieved?
    thanks, john

    How old are you? If 1998 is the year you were born, it's entirely possible your parents have subscribed to a 'smart limits' service, which will disable your data connection, text messaging, etc. during hours they choose.

  • Cross tab does not read data after a certain point

    Post Author: tatiana88
    CA Forum: General
    I am using CR10 and have created a simple table that reports hours by month - Jan thru Dec.  The report displays data for the months of Jan thru April, but the data for May and onwards is not being read (it shows as 0 for these months).  I have updated my registry to ensure that the timeout is disabled (value is 0) and that the MaxNBrowseValues is as large enough to cover the numer of records.  The only anomalie is that there is actually a range of records with 0 values exactly at the point where the reporting gets weird, but towards the end, the records in the database actually do have non-zero values, but they are not being picked up by Crystal for some reason.  I would appreciate any help you can offer.

    Post Author: tatiana88
    CA Forum: General
    I have checked the select statement, and there is nothing odd: the date range is a parameter entered selected by the user, and it includes 5/2007 and 6/2007 - and it seems that this range parameter is being taken by Crystal since the columns May and June both appear.  This is strange in that if the values were truly 0 for May and June, the columns themselves would not appear.  Both May and June have data posted in the database.  All other months (Jan through April) show accurately on the Crystal Report.

  • How remove extra files from root mount point

    Hi sun solaris expert,
    Solaris version is 10
    Kindly see my root mount point near to fill 100 %.
    Before hang on my server,
    kindly assist me which solaris files are not essential and to remove them I may create more space. Moreover, there are
    also some files which are create by oracle application user and oracle user automatically.
    kindly guide me.
    /dev/md/dsk/d30 24G 24G 100M 100% /
    Thanks

    Check the following thread, your problem may get resolved
    How to delete unwanted files in filesystem of solaris 10 sparc

  • Writing PDF files - Crashes after a certain point

    Post Author: virtitel
    CA Forum: .NET
    I have a 2003 .NET project that iterates through a recordset to write pdf files out into personalized directories.
    The process works fine on my work computer but on my laptop, it crashes after about 110 reports written (out of up to 900).
    I crashes on the export. What gives? Is there a resource limit of some kind? I can't find anything on it.
    Would LOVE some help with this.
    Thanks!

    Hi there
    Have you tried using the preloader? My guess as to what is happening is that perhaps things are simply taking some time to load up. I suppose you might somewhat confirm that by trying the playback again. If my suspicions are correct, you should see that they either play fully the second time through with no issues or that they play longer than they did on the previous try without pausing.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Youtube videos freeze after a certain point and can't be played

    Every time I get on Youtube I can watch up to like 30 seconds of a video and then it freezes and I can't play. I've cleared my cache, I've checked for updates, I've restarted the computer etc. Its not my computer I know because when I use Chrome the videos work.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

Maybe you are looking for

  • Migrated files wont open or error msg

    I used migration asst to migrate files from Imac power pcG3 (OS 10.3.9 and classic 9.2.2 installed) to my new imac G5 intel. I selected " move files and folders only" but everything migrated. When i try to open old files, some open, others give msg "

  • Duplication of Line Items in Shopping Cart

    Hi, We currently use SRM 4.0 with ECC6 and IE version 6.0. The situation we are facing is as follows: When the user completes shopping at the vendor's web based catalogue and hits return button, even line item that punches out from the vendor catalgu

  • How to remove Mavericks upgrade

    Is there a way to uninstall the Mavericks upgrade? I have read many problems and glitches associated with Mavericks but I particularly find the Dock not opening the first time I click on it very annoying. It's a simple little glitch that is becoming

  • OSB http Header Problem

    Hello all, (I hope I'm right here with my Oracle Service Bus problem) I have a Oracle Service Bus Proxy Service, that calls a Business Service (not in my control). That business service is somehow crap, cause it doesn't respond correctly (in sense of

  • Error during install: "no entry for 'local.defdomain'"

    Installing Messaging Server 5.2. I thought there was an residues of iPlanet DS 5.1 or something and tried to get past this by installing on clean workstation. No help on that. All install options are default. I have also tried with the values i would