How to find no of numeric characters in a given string ???

How to find no of numeric characters in a given string ???
Thanks,
Kathir

sabre150 wrote:
Use String.replaceAll() to replace any characters that are not numeric and then take the length of the resultant String....and this might be useful: [http://www.regular-expressions.info/]
;-)

Similar Messages

  • How to find the number simultaneous call at a given moment on UCCX ?

    Hello,
    I would to know how to find the number simultaneous call at a given moment on UCCX ?
    it's on UCCX or UCCX RTMT, I don't know thanks a lot for your help.
    Aubert

    Hi Gergely,
    I should made a report on the number simultaneous call at a given moment on UCC on the server (all calls on the server)..

  • How can I remove non-numeric characters from a cell?

    I have a file an rtf file that I can open in Numbers. It puts each line in a separate cell. Each cell contains non-numeric and numeric characters. I'd like to delete the non-numeric characters so that I can add the numbers together. Is there a way to do this easily in Numbers that doesn't require doing it manually?
    Thanks,
    David

    Ok, David,
    This solution will work for vlaues up to 99,000 and if there is a space in front of your amount. There are two parts for clarity but you could wrap them up into one formula if you wanted to.
    B2 =FIND(" ",A2,LEN(A2)−9)
    C2 =MID(A2,B2,10)
    If there is a return before your amount (certain cells in your screenshot got me wondering) then the formula in column B
    =FIND("
    ",A2,1)
    It looks funny because it is finding the return.
    Let me know if this works for you.
    quinn

  • How to find the name of query for a given report

    Hi All,
    I am having the name of a report and i need to find out the name of query for that report . Plz tell me how to find out the name of the query for a given report.
    Thanks.
    Regards,
    Pooja Joshi.

    Use this FM
    RSAQ_DECODE_REPORT_NAME
    This FM takes program name as I/P and gives Query Name as O/P.
    This FM uses the structure AQADEF to fetch the data.
    Hope this helps.
    Regards
    Vinayak

  • How to find out that the card in a given NIDAQ slot is a DSA card?

    In the description of DAQ_Op(...) function in the traditional NIDAQ function reference one reads:
    "buffer" is an integer array. "buffer" has a length equal to or greater than count.
    When DAQ_Op returns with an error number equal to zero, buffer contains the acquired data.
    For DSA devices, buffer should be an array of i32. These devices return the data
    in a 32-bit format in which the data bits are in the most significant bits.
    Question 1: How to find out programmatically that the card in a given NIDAQ slot is a DSA card?
    Question 2: How many MSB carry the information? How do I find out bit-ness of the card (programmatically)?
    The obvious solution to create and keep updated the table/fil
    e with the data for all existing DAQ cards is unacceptable. This could be maintained by NI itself, but not by 3rd party developpers, like me.

    Bryan, thanks for your answer.
    I hope that my NIDAQ-wish-list will not only reach NIDAQ developers but some of it will be implemented in the next versions of NIDAQ.
    I should say that I am quite pessimistic because I was sending similar requests via German support few YEARS ago and I am still even do not know whether they reached developers or not. Even if yes, the present NIDAQ still does not have these functions and this means that NI takes 2..4 years to react on the feedback.
    At the moment I have no choice, and I do maintain self-made info file (nidaq.ini). But beleive me, it is a pain in the @ss to scan help files and manuals of the DAQ cards which I've never seen just to include info in nidaq.ini. And when my customers of a brand new NIDAQ ca
    rd call and wonder why the card is not reacognized by my application correctly, I tell to them that this is basically fault of NI. Because NI provides no way to get card info. I am doing my best analysing error codes, but it does not help in all cases. Sorry, guys, but you left no choice to me.
    As for NIDAQmx, this is not a solution either. I am not going to rewrite my existing and working rather big application. It could be a good suggestion for those who just starts developing a new applications from the scratch, but not for those who almost finished it. Even for those who begin now, NIDAQmx may not be a good choice, because, as I saw in this forum, it does not support all cards that are supported by NIDAQ. It also looks like that instead of improoving, developing and fixing NIDAQ, NI dicided to change API completely. It is not yet clear to me whether NIDAQmx is supposed to substitute NIDAQ in the future or not. If not, I would concentrate on improoving trad. NIDAQ. If yes, it wou
    ld be a disaster for many developers. :-(
    Anyway, I hope that the interaction between NIDAQ team and application developpers will be improoved, and we will see some results of this feedback.

  • How to find out what are the functions supported by string class

    Hi,
    Can any one let me know how to find what are all the functions supported by the string class in standard(STL) library on solaris.
    Regards,
    Vignesh

    1. Any C++ textbook that covers the Standard Library will tell you about the standard string class. A good tutorial and reference for the entire Standard Library is "The C++ Standard Library" by Nicolai Josuttis, published by Addison Wesley.
    2. WIth Sun C++, the command
    man -s3C++ basic_string
    provides documentation for the default libCstd version of the Standard Library.
    3. You could look at the <string> header itself. I don't recommend that approach.

  • How to find data's from table whose sum=given input.

    Hi all,
    how to find values whose sum=given value.
    i have a master. table
    master table
    name amount
    a 1000
    b 6000
    c 2000
    d 1500
    input amount=4500 (may change);
    how to get name from master table whose sum(amount)=4500;
    i.e) a,c,d as output.

    Hi,
    I realy like the approach you made.
    But it is not realy scalable, as you probably know already.
    I tried the following:
    WITH
    master_table as
    select 'a' name, 1000 amount from dual union all
    select 'b',      700 from dual union all
    select 'c',      2000 from dual union all
    select 'd',      300 from dual union all
    select 'e',      1000 from dual union all
    select 'f',      1200 from dual union all
    select 'g',      2300 from dual union all
    select 'h',      500 from dual union all
    select 'i',      400 from dual union all
    select 'j',      600 from dual union all
    select 'k',      700 from dual union all
    select 'l',      400 from dual union all
    select 'm',      500 from dual union all
    select 'n',      600 from dual union all
    select 'o',      700 from dual union all
    select 'p',      800 from dual union all
    select 'q',      900 from dual union all
    select 'r',      1000 from dual union all
    select 's',      1700 from dual union all
    select 't',      1400 from dual
    ,got_name_list     AS
         SELECT     LTRIM ( SYS_CONNECT_BY_PATH (name, ',')
                    )                         AS name_list
         ,     SYS_CONNECT_BY_PATH (amount, '+')     AS amount_list
         FROM     master_table
         CONNECT BY     name     > PRIOR name
              AND     amount     < :target_amount
    SELECT     name_list, amount_list
    FROM     got_name_list
    WHERE     XMLQUERY ( (amount_list)
               RETURNING CONTENT
               ).getnumberval ()     = :target_amount
    ;And indead I received a solution. But it toke 788 seconds.
    I think that if you want to use this with more rows you have to find a PL/SQL solution.
    Regards
    Peter

  • How to find a second point on a line given a point and distance

    Hi All,
    My requirement is: Given a point on a line and distance, I have to find the second point. All geometries are in LRS.
    I tried using SDO_LRS.LOCATE_PT, it is returning the second point from the start of the segment but I want to locate the point from the given start point. Kindly suggest in how to solve this.
    SQL Used:
    SELECT SDO_LRS.LOCATE_PT(a.shape, m.diminfo, 9, 0)
    FROM lrs_access_fiber a, user_sdo_geom_metadata m
    WHERE m.table_name = 'LRS_ACCESS_FIBER' AND m.column_name = 'SHAPE' AND a.unique_id = 1996;
    Regards
    Venkat

    Hi Luc,
    Thanks for the information. I have implemented this in a slightly different way like:
    1. Firstly, found the distance (Distance_a of the point selected from the start point of the segment using:
    SELECT SDO_LRS.GET_MEASURE(SDO_LRS.PROJECT_PT(a.shape, m.diminfo,MDSYS.SDO_GEOMETRY(2301, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1, 1), MDSYS.SDO_ORDINATE_ARRAY(xa,ya, NULL)) ), m.diminfo ) into Distance_a FROM LRS_ACCESS_FIBER a, user_sdo_geom_metadata m WHERE m.table_name = 'LRS_ACCESS_FIBER' AND m.column_name = 'SHAPE' AND a.unique_id = Input_Fiber_Id;
    2. Then added the given distance (b) to this computed distance (Distance_a ) to get the distance of the second point (Distance_b).
    Distance_b := abs (Distance_a + b);
    3. Then used SDO_LRS.LOCATE_PT with offset=0 and distance=Distance_b to get the second point.
    select SDO_LRS.LOCATE_PT(a.shape, distance_pt, 0) into point_geometry from LRS_ACCESS_FIBER a where a.unique_id = input_fiber_id;
    Please give your inputs and feedback.
    Regards
    Venkat

  • How to find out the service that consumes a given port?

    If we want to check if a given port is open on a given host,  we do
    telnet hostname port-number
    If this given port is open, that means a service is consuming this port.  How to identify which
    service is consuming this open port?
    Thanks!

    Hi,
    Please check the file /etc/services.
    In this file you will find that which port is occupied by which services. This file contains all services details (OS+ SAP also).
    Please refer to below doc for the details about the standard ports used by SAP applications.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4e515a43-0e01-0010-2da1-9bcc452c280b
    With Regards,
    Saurabh

  • One time discount - how to find out if customer has aleady been given discount before?

    Client has requirement - they give first-time customers a certain discount, occasionally they give old customers the same discount (they want to be able to decide during the sales order entry).  They will enter manually with no condition records.
    They could use HA00 header discount type.. but how can they know whether that customer has received the same discount before?  Is there a standard sales report that can be run based on header conditions type?  We don't have time for custom development and would like find a standard solution.
    Is there a standard report based on order reason? Perhaps they can enter order reason for orders that have that one-time customer and can quickly run that report.
    Thanks!!

    Have you tried entering 'one time discount site:sap.com' in Google? This post is on the first result page, there are many others.
    Kindly refer to ROE and search before posting.
    @Siva - CDHDR table? Sorry, I'm confused... How exactly would it be helpful to OP?

  • Solution : How to find out if User Entered Something in a String ??

    Hello Everyone,
    I have a textbox, if user leaves it empty I want to check for that...
    if I do something like this...
    IF (textbox = '') THEN -- doesn't work
    IF (textbox = NULL) THEN -- doesn't work....
    What is the way to find this out...
    Thanks,
    Harsimrat
    Message was edited by:
    Harsimrat

    Hello Everyone,
    I have a textbox, if user leaves it empty I want to
    check for that...
    if I do something like this...
    IF (textbox = '') THEN -- doesn't work
    > IF (textbox = NULL) THEN -- doesn't work....>
    What is the way to find this out...
    Thanks,
    Harsimrat
    > IF (textbox IS NULL) THEN -- should work....>
    Khurram Siddiqui
    [email protected]

  • How to find particular date lies in between two given dates

    hi,
    i have a problem. i have to find if particular day lies in between two given dates.
    example two dates are joindate and expirydate.
    1.joindate is 1/03/2007
    expdate is 1/03/2008
    now i have to find if 29 feb is in between this joindate and expirydate.
    if any1 has ny idea please reply asap.
    thanks.

    The Date class has a before() and after() method you can use to compare Date objects.

  • How to find out  number of includes for a given program dynamically

    Hi all
    I have a requirement in which, I have to find out  number of includes and their names for a given  user defined program dynamically
    if u know the answer pls let me know
    Thanks in advance
    Devi

    Hi rama,
    1. use this FM - RS_GET_ALL_INCLUDES_FOR_PRTAB
    regards,
    amit m .

  • How to find the number of decimals in a given value

    Hi all,
    Can u please help me in solving the problem,
    i have a value called 5987.45
    and decimal places are 45 that is 2 numbers
    2) 765.987
    number of digits in decimals are 3.
    3) 67543.1
    number of digits in decimals are 1.
    for this i need a coding
    thanks.

    Hi,
    While printing your text element give as;
    &wa_tab-dec_value(.2C)&
    This will always print everything with 2 decimals.
    Regards
    Karthik D

  • How to find the Respective Doc as per the given Reference

    Hi Frndz..
    Am WDP Java developer n am new to KM , now we have a requirment like, we upload a profiles of an employees on the base of respective Emp ID, and n one Emp ID will refer to one doc r multiple docs.
    And i need an option like Search , when i give Emp ID and clicks on Action button it should show the respective Emp Docs.
    Thanks in Advance
    Regards
    Rajesh

    Hello,
             For this requirement no need to go Webdynpro,
    1. You can get all the employee information if you given user admin, we can get all the user information
    from trex engine. so please go to trex server configure & get all the employee information.
    2. If you use webdynpro also you need trex server.
    Thanks,
    Navaneethan

Maybe you are looking for

  • Advice for creating a network

    I want to create a home network with the following: - a Mac Pro (acting as the server with the video, images, and audio files) in an office room - an Airport Express connected to powered speakers to play music in another room - an iTV connected to my

  • Photoshop elements 8 under windows 7 "open with" cannot link editor

    Hello, I recently upgraded my computer to 64bit, loaded my photographs and can open adobe photoshop elements 8 and editor and work on pictures.  However, I usually browse my pictures in windows explorer, open folders of interest and see small picture

  • WRT54G Not working

    I have a WRT54G router that was working fine until a couple of days ago when it quit on me. The power light is not on, but the other LED's are on. I cannot connect to the router, so what should I do to fix this?

  • How to change address book listings in Leopard not by first name first?

    I was recently upgraded from Tiger to Leopard. Suddenly the names in my computer address book are listed by first names first, ALICE BROWN. How can I change this back to the way it used to be in Tiger, listing the last name first,, BROWN, ALICE ?

  • Remove Hyperlink

    I have a form that has an email address in the text field.  I do not want the hyperlink to work.  I right clicked on the text and selecting Remove Hyperlink and this did not work. This works only if I remove the email wording before the URL address.