Searching for the number in the bigint value...

HI!
Could anybody help me with the searching for the number in the bigint value. ex:
9567423742840 i need to get only the 2nd and 3rd number (56) from this value...
 ^^
and the same thing with symbols in the strings..
is there any special function in jsp available for that?
thanks

try looking into the String class. There should be a substring or similar function that lets u get only a part of another string. You can convert the int into a string by doing something like new Integer(yourIntValue).toString() and then using that string for your substring function. There may be other ways to do it too, but this is the one I remember off the top of my head.
Hope it helps
package com.DJ_Java;

Similar Messages

  • Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab?

    Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab? When there was support for Google Toolbar, I was able to do this; now, whenever I want to search for something, I have to open a new tab to do it, and cut-and-paste my search into the search field in the new tab. I used to be able to highlight, drag, and drop something into the search field and have it automatically open in a new tab. This is enough for me to switch to Chrome . . .

    Set a preference to have searches from the Search Bar (upper right) automatically open all searches in a new tab
    #type '''about:config''' in the URL/Location/Address bar and press the Enter key
    #if you see a warning, accept it (promise to be careful)
    #Filter = '''browser.search.openintab'''
    #in the lower panel, double click the item (or right-click and choose "Toggle") to change the value to "true"
    #close the about:config tab and test
    #See:
    #*For help with opening/using about:config, also see: http://kb.mozillazine.org/About:config
    #*Also see: http://kb.mozillazine.org/About:config_entries (click on "Browser", scroll down to browser.search.openintab)
    '''Search Bar''': http://support.mozilla.com/en-US/kb/Search+bar
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    About Google toolbar............
    Google decided that they will no longer produce the Google Toolbar for Firefox 5 and newer version. It is best to move on to other alternatives than to try any "hacks" to the toolbar that may or may not perform in the future. Future versions of Google toolbar will only work with IE7-9. Google Toolbar is not available on any other browser, even Google's own browser.
    *http://googletoolbarhelp.blogspot.com/2011/07/update-on-google-toolbar-for-firefox.html
    *https://support.mozilla.com/en-US/kb/google-toolbar-not-compatible-firefox?s=google+toolbar&r=0&as=s
    *http://www.google.com/support/toolbar/bin/answer.py?answer=1342452&topic=15356%29
    *Google Toolbar 8 FAQ (IE only): https://www.google.com/support/toolbar/bin/answer.py?hl=en&answer=1111588
    '''''To access your Google Bookmarks visit''''' www.google.com/bookmarks.
    Alternatives:
    *http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    *https://addons.mozilla.org/en-US/firefox/addon/googlebar-lite/
    *https://addons.mozilla.org/en-US/firefox/addon/gbookmarks-google-bookmarks-fo/

  • Search for one word in the adress bar with google when proxy is enabled.

    I have downloaded Firefox Version 30 and set up my company proxy. I use the address bar to search at google. Since I have configured the proxy I'm not able to search for only one word like 'fibonacci', if I search for 'fibonacci number' it still works.
    What's wrong?
    Many thanks.
    Cheers!

    You can use a keyword search to search via the location bar if the proxy doesn't report that a DNS look up has failed and Firefox thus doesn't send a search request.
    You can add a keyword to an installed search engine via Manage Search Engines if you click the search engines icon on the search bar.

  • When I upgraded my iMac to Lion I can no longer connect the iPad 2 to WiFi.  It gives me a message unable to search for WiFi.  Before the upgrade to Lion it worked fine.  What gives?

    When I upgraded my iMac to Lion I can no longer connect the iPad 2 to WiFi.  It gives me a message unable to search for WiFi.  Before the upgrade to Lion it worked fine.  What gives?

    Could there be a setting I need to adjust in the iPad2?  When I try to turn on WiFi and enter the name of the WiFi that I have established, including the security type and the password, I get the message "Could not scan for wireless networks."  Is there a setting in iCloud or other location that needs to be changed?

  • I created a book at the Ibooks author. But there are pages where the number of the page does not appear. How I can solve this problem? I thank you very much for any tip.

    I created a book at the Ibooks author. But there are some pages which the number of page is not visible. What can I do to see the number of the page?

    Have you changed the template?
    Some pages may not have numbers in place as default.  If you have changed the page or the template page, you may have added a object which as pushed the number out of view, or an image may be in a layer on top of the text.
    If you select one object on the page...then go to Edit, select all, you should see the outlines of any content no matter that content may not be seen. Look at the bottom for a page width rectangle outline.. IF its there, you need to shuffle the content until you find that box, and use Arrange > bring to front.

  • I've got an iPad and iPhone 4S, both of which are set up for facetime. When someone calls me, both the iPad and phone ring, even though the phone is set to receive facetime calls on the number and the iPad is set for an email account. why is this?

    I've got an iPad and iPhone 4S, both of which are set up for facetime. When someone calls me, both the iPad and phone ring, even though the phone is set to receive facetime calls on the number and the iPad is set for an email account.
    How can I change the setup so on the email only the iPad rings and on the phone number only the phone rings?

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • How do you search for a song in the latest version of ITunes??

    How do you search for a song in the latest version of ITunes??
    Yes this might be the stupidest question ever, but leave it to Apple to make the simplest thing hard.
    In EVERY version of Itunes, up until 11, you used to be able to type an artists name, song name, or album into the search field and it would narrow it down so that you can see what you are looking for (in the list below).  Now, Itunes tells you that you have music by said artist, yet doesn't list them whatsoever. Furthermore, when you click on the results it doesn't list them for you either.
    I'm sure it is some weird setting, but cannot for the life of me find.  I cannot name one application that doesn't show a list when you type in the search field.  Augh!
    Please help.
    G

    You can choose what it searches and where

  • Is it possible to search for multiple folders with the same name and...

    Is it possible to search for multiple folders with the same name and then select them all and change the permissions on just those folders .i.e. Search for the budget folders in all client folders and lock them down to just the project managers. Without having to go to each folder and apply the permissions.

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • HT204266 I have a iPod touch 4 and updated the iOS 6 and always when I try to search for an app in the App Store it won't let me because it always exits the App Store. Why is this happening?

    I have a iPod touch 4 and updated the iOS 6 and always when I try to search for an app in the App Store it won't let me because it always exits the App Store. Why is this happening?

    Have you tried resetting and restoring your iPod?

  • Steady Stream of "Searching for movie data in the file..." Error Messages

    My iMovie has been crippled by error messages that pop up whenever I try to accomplish anything in iMovie. I always see "Searching for movie data in the file 'healyintro.mov'" for a few minutes, then "The movie file 'healyintro.mov' cannot be found. Without this file, the movie cannot play properly." I cannot actually use iMovie because of these errors.
    I've tried everything from reinstalling iMovie to removing application support files to removing my iMovie Events and iMovie Projects folders to creating a .mov file, calling it healyintro.mov and seeing if that'll shut iMovie up – nothing works.
    Once in a while, iMovie will ask for a different movie file, with the same problem.
    Any ideas?

    I am having the same issue. I don't know what the previous poster means by allowing the system to continue, since I'm prompted with a "Cancel" / "Search" dialog after each missing clip. Slight digression: "Search" is not even the correct term here according to UI guidelines ("Choose" or "Locate" might be better choices given the file picker dialog that results).
    I'm actually using Aperture to relocate my video masters on removable media, which is a very nice feature of Aperture, but completely breaks iMovie unless it's connected. Seems like a pretty major oversight.... can we just have it fail more gracefully here and allow us to work with new stuff without getting hung up on missing movie clips from the past?

  • My ipod keeps searching for network, even when the network info is all set properly. It has suddenly started doing this. Also, buffering forever...

    My ipod keeps searching for network, even when the network info is all set properly. It has suddenly started doing this. Also, buffering forever... I have tried to reset the network few times, but not working.

    Hello Nazer_502,
    I would be concerned too if my iPhone was acting this way.  It sounds like it is overheating and not holding a charge. I recommend following the steps listed below when experiencing an issue like this:
    Battery life seems short
    Click ( www.apple.com/batteries/iphone.html) for tips on how to prolong iPhone's battery life.
    Try turning iPhone off and then on again.
    Connect iPhone to iTunes and restore iPhone.
    If the screen shows a low-battery image, the battery is low on power and needs to charge for up to ten minutes before you can use it.
    When charging iPhone, make sure to leave it charging until it is fully charged. You'll know the battery is fully charged when the battery icon in the upper-right corner of the screen looks like this .
    Note: When charging using a computer, don't connect iPhone to a keyboard. Also, the computer must be turned on and not in sleep or standby mode. If iPhone is connected to a computer that's not turned on or is in sleep or standby mode, the iPhone battery may drain.
    You can find the full article here:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Recently bought 4S, it keeps searching for network, reads invalid SIM, keeps searching for network, have switched the handset on and off several times, have tried 2 new micro chips, re set the network too ! nothing seems to be working !!! Iam in Delhi

    recently bought 4S, it keeps searching for network, reads invalid SIM, keeps searching for network, have switched the handset on and off several times, have tried 2 new micro chips, re set the network too ! nothing seems to be working !!! Iam in Delhi

    Obvious question... where did you buy your 4S and is factory unlocked?

  • How are people searching for music now that the power search link is gone?

    How are people searching for music now that the power search link is gone?

    That info in my above post doesn't bring back Power Search
    I think this Discussion holds the answer https://discussions.apple.com/message/20451945#20451945
    Found it under iTunes U!  Don't know why the moved it from the main page but you will find it here.

  • Lightroom has stopped running windows is searching for a solution to the problem"

    Lightroom stopped running on Vista 32 windows error message says "Lightroom has stopped running windows is searching for a solution to the problem"...Also some RAW images opened in CS2, Bridge or Lightroom have bands of different colors depending on the image and are unusable. At the same time Lightroom works fine on my laptop running Vista 32.

    Are you looking at the images at 100% resolution? Banding can appear in other enlargements due to rounding errors.

  • Is it possible to write a as3 code that will search for particular file in the loacal disk

    Is it possible to write a as3 code that will search for particular file in the loacal disk

    Not for a web-based design

Maybe you are looking for

  • How can I watch a rented iTunes movie on my Apple TV?

    I tried to: select the movie in iTunes Advanced>Create iPad or Apple TV version The "Create iPad or Apple TV Version" menu is not active. I have Apple TV version 1 iTunes 10.5.2 Thanks for any help, Jimmy

  • How to link Vendor Invoice to Customer Invoice in Third Party Sales Custom Report

    I have a requirement wherein I want the Invoice to have as many line items as MIRO have if partial delivery happens... invoices (one for each MIRO).. We are currently using the Third Party with Shhipping notification... I have tried using VF04 for bi

  • Image across 2 pages

    I have a 2 page spread in InDesign. I want an image to go across both pages. For production purposes, must I break that image up into two pieces with half on one page and the other half on the second page? I have noticed that If I run a sigle graphic

  • CCMS Operating System Alert Monitor for Filesystem

    Hi, In alert monitor set for operating system, for some filesystems the freespace & percentage_used were showing zero and saying value is obsolete. But those filesystem were existing with some space used in it. How to make that particular filesystem

  • Itpc:// compatibility issue with gmail

    Hello! We sell our podcast products via Premiumcast. We plan to use itpc:// to replace http:// (for the 1-click subscription via iTunes) but the problem, when we send the link to a Gmail account, the itpc is not being recognized by Gmail. The itpc pa