Splitting a string... any suggestions, selecting the 11th character

I have a string... e.g. AAR12345678
now what i want to do is split the string and select number "8", the 11th character.... any suggestions?

If you know you want the 11th character, then just
use String.charAt(10) to get it.woh... i thing u cracked it....
so would i do:
String studentid = RS.getString("studentid");
String split_studentid = studentid.charAt(10);
Close, but not quite. charAt returns a char, not a String.
char theOneIWant = studentid.charAt(10);

Similar Messages

  • Some of the messages in a gmail mailbox are missing.  I tried to select rebuild but this option is not available (i.e. it is greyed out).  Any suggestions?  The mail is all there when I go into the Google Mailbox.

    Some of the messages in a gmail mailbox are missing.  I tried to select rebuild but this option is not available (i.e. it is greyed out).  Any suggestions?  The mail is all there when I go into the Google Mailbox.

    I've ran the connection doctor and it's showing that the connection to the internet is fine
    What about the connections to the mail servers?

  • I am novice to LabView programmin​g. Any suggestion about the the good programmin​g style will be of great help. Thanks.

    I just wrote a small program for reading a ASCII file and writting the numbers to Arrays. Files are enclosed for reference. Any suggestion about the programming style quality or what is the best way for LabView programming will be of great help. Thanks in advance.
    Attachments:
    Reading_Text_File_into_Array.vi ‏32 KB
    37a8176a.cr5 ‏1 KB

    I'm home from work today so ... here's my modification to your VI. Use it with you existing data. As you get more exposed to LV's existing tools, you'll discover the shortcuts. No loops are necessary for your task.
    Hope this helps.
    - Kevin
    Attachments:
    Reading_Text_File_into_Array_New.vi ‏47 KB

  • My iPhone 4 shut down in the middle of a conversation and won't restart or charge. Any suggestions? The nearest Apple store is hours away from where I live.

    My iPhone 4 shut down in the middle of a conversation and won't restart or charge now. Any suggestions? The nearest Apple store is hours away and I depend on my phone to stay in constant touch with my child's specialist.

    I've tried that several times. It will not reset. The screen just stays black. I've never had this problem before. It usually resets the first time.

  • Is there any suggestion to the html layout of my blog?

    is there any suggestion to the html layout of my blog?
    copaslirik
    Thanks before

    Hi Doku,
    Can you be more specific about the kind of feedback you are looking for : Are you looking for feedback on the aesthetic appeal of your blog or any potential technical glitches?
    Thanks,
    Preran

  • I have win7, outlook 2007 tried to sync with icloud but i get an error message and the calendar is blank.  Thanks apple? Any suggestions from the community?

    I have win7, outlook 2007 tried to sync with icloud but I get an error message and my calendar is blank.  I do not see my outlook calendar, on the left pane under all calandar I see my me account checked and all others are unchecked. I looked at icloud and all the data is in and the iphones syncl with ipad but something is not right with my PC Outlook.   I cannot get back to the good old mobileme. Thanks APPLE? Any suggestions from the community?

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • HT4413 I want to transfer about three thousand photos on my MacAir to my iMac. Any suggestions on the best way of doing this?

    I want to transfer about three thousand photos on my MacAir to my iMac. Any suggestions on the best way of doing this?

    Are the photos in iPhoto?
    If they are, you can simply copy your iPhoto Library (located in your Pictures folder) to a thumb drive or external drive and then copy it over to your other Mac. This will only work if the iMac has the same version (or later version) of iPhoto as does the Macbook Air.  Then on the iMac, if you want to combine this new library with the existing one over there, use iPhoto Library Manager (a free download program).
    If you want to copy over only a portion of that iPhoto library, iPhoto Library Manager can create a smaller library containing just the photos you want to include. Then copy that smaller library.

  • I have an early 2008 Mac Pro, 8 gb ram with a Dell 27" display and a 42" LG TV. I am thinking about upgrading the stock ATI Radeon 2600 graphics card for better resolution, preferring 2 dvi outputs. Does anyone have any suggestions on the best card?

    I have an early 2008 Mac Pro, 8 gb ram with a Dell 27” display and a 42” LG TV. I am thinking about upgrading the stock ATI Radeon 2600 graphics card for better resolution, preferring 2 dvi outputs or 1 dvi and 1 vga vs 1 dvi and a mini. I don't do a lot of Final Cut Pro, gaming, etc. I am interested in best value for the graphics card.
    Does anyone have any suggestions on the best graphics card for these larger displays for the best value?
    Thanks,
    Kevin

    I recommend you install nothing older than the Apple-firware 5770, about US$250.
    RE: Mac Pro Replacement Graphics cards
    1) Apple brand cards,
    2) "sold in the Apple store" cards, and
    3) "Mac Edition" cards ...
    ... show all the screens, including Boot up screens, Safe Mode, Installer, Recovery, debug screens, and Alt/Option boot screens. At this writing, these choices include:
    1) Apple brand cards:
    • Apple-firmware 5770, about US$250** works near full speed in every model Mac Pro, Drivers in 10.6.5
    • Apple-firmware 5870, about US$450
    2) "sold in the Apple store" cards
    • NVIDIA Quadro 4000, about US$1200
    • NVIDIA Quadro 5000, about US$2500
    3) "Mac Edition" cards -- REQUIRE 10.8.3 or later:
    • SAPPHIRE HD 7950 3GB GDDR5 MAC Edition, about US$480** Vendor recommends Mac Pro 4,1
    • EVGA GTX 680 Mac Edition, about US$600
    The cards above require no more than the provided two 6-pin aux power connectors provided in the Mac Pro through 2012 model. Aux cables may not be provided for third-party cards, but are readily available.
    If you are Meet ALL of these:
    • running 10.8.3 or later AND
    • don't care about "no boot screens" etc AND
    • can re-wire or otherwise "work out" the power cabling, THEN:
    You can use many more cards, even most "PC-only cards"

  • Pages: On the new version of Pages, I can't select the invisible character "return". I need to copy and past it on "Find and replace". How can I do that? Thanx.

    To change all the "-" by — that starts a dialogue on a book, I used to copy and past "Return" + "-" to ensure that all the "-" will not be change. But on the new version of Page if I select the "Return" character, and past it on "Find", the "Space" is appearing. How to select the "Return" character ? hanks for your help.

    Select a song. Hit command-I (Mac) or Ctrl-I (Windows). In the pane which opens select the 'Artwork' tab. Drag an image to the space.
    Or, select an album: same keystroke. In the pane which opens is a space labelled 'Artwork' - drag an image there.

  • My ipod touch will not power on or even be acknowledged by my computer when i plug it in, any  suggestions to the problem

    My Ipod will not power on, it is fully charged and if I plug in into the computer it doesn't even ackowledge it. Any suggestions?

    Try a hard reset and go from there.
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G + 120G OCZ Vertex 3 SSD Boot HD 

  • My first generation iPad has in the last few days taken to crashing whilst using Safari. Any suggestions what the problem might be please?

    This has only happened during the last few days. My iPad first generation has started to crash whilst using Safari. Any suggestions as to what might be the cause?

    Try This...
    Close All Open Apps...  Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • Please, I don't want any suggestions from the awesome bar! Using the tools menu does not stop it...

    I don't want any suggestions! I have set the control through the Options many time to nothing but it always comes back with a new session. Please can I stop it completely!

    If you do not keep changes after a restart or otherwise have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • I just bought an IPOD Touch 5th and just realized that there is no place  to insert it into a Bose Docking Station to play the music from the IPOD thru the Bose, any suggestions.  The 4th Generation had a larger hole to connect to the docking station.

    I just purchased a new IPOD Touch 5th and use a BOSE Docking Station.  I just realized this new IPOD does not have the hole in the bottom to
    place it on the Docking Station like the IPOD 4 did.  Do you have any suggestions?  Does this not dock?

    There are adapters that are available in the iTunes store.
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter?fnode=72
    and
    http://store.apple.com/us/product/MD824ZM/A/lightning-to-30-pin-adapter-02-m?fno de=72

  • Is there any suggestion for the "SafeNamedCache was explicitly released"

    I deployed the coherence-java-3.6.0-java on red had with core 2.6.18 with 64 bit.
    Then the deployed the coherence-3.6.0-cpp on the same manchine and complied the example "hellogrid" and it works ok . No any error .
    My requirement is to integrate the Coherence into the Nginx0.7.62 for my web server . And i wrote a thread pool for the NameCache::handle and get a newly hendle after a 5 seconds just because of the error "was explicitly released" . But it is not useful for solving the problem .
    Anybody please give me a suggestion for the root cause of this problem .
    Thanks .
    And the configurate as follows which are all copied from the configurate file for the example "hellogrid"(coherence-cpp/examples/config/extend-server-config.xml and coherence-cpp/examples/config/extend-cache-config.xml):
    extend-server-config.xm:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <defaults>
    <serializer>pof</serializer>
    </defaults>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>dist-*</cache-name>
    <scheme-name>example-distributed</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>repl-*</cache-name>
    <scheme-name>example-replicated</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>local-*</cache-name>
    <scheme-name>example-local</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>example-distributed</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>example-distributed</scheme-name>
    <service-name>DistributedCache</service-name>
    <lease-granularity>member</lease-granularity>
    <backing-map-scheme>
    <local-scheme/>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <replicated-scheme>
    <scheme-name>example-replicated</scheme-name>
    <service-name>ReplicatedCache</service-name>
    <lease-granularity>member</lease-granularity>
    <backing-map-scheme>
    <local-scheme/>
    </backing-map-scheme>
    <autostart>true</autostart>
    </replicated-scheme>
    <local-scheme>
    <scheme-name>example-local</scheme-name>
    </local-scheme>
    <invocation-scheme>
    <scheme-name>example-invocation</scheme-name>
    <service-name>InvocationService</service-name>
    <autostart>true</autostart>
    </invocation-scheme>
    <proxy-scheme>
    <scheme-name>example-proxy</scheme-name>
    <service-name>ProxyService</service-name>
    <thread-count system-property="tangosol.coherence.extend.threads">2</thread-count>
    <acceptor-config>
    <tcp-acceptor>
    <local-address>
    <address system-property="tangosol.coherence.extend.address">localhost</address>
    <port system-property="tangosol.coherence.extend.port">9099</port>
    </local-address>
    </tcp-acceptor>
    <outgoing-message-handler>
    <request-timeout>5s</request-timeout>
    </outgoing-message-handler>
    </acceptor-config>
    <autostart>true</autostart>
    </proxy-scheme>
    </caching-schemes>
    </cache-config>
    extend-cache-config.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <defaults>
    <serializer>pof</serializer>
    </defaults>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>local-*</cache-name>
    <scheme-name>local-example</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>near-*</cache-name>
    <scheme-name>near-example</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>dist-*</cache-name>
    <scheme-name>extend-dist</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <local-scheme>
    <scheme-name>local-example</scheme-name>
    </local-scheme>
    <near-scheme>
    <scheme-name>near-example</scheme-name>
    <front-scheme>
    <local-scheme>
    <high-units>100</high-units>
    <expiry-delay>1m</expiry-delay>
    </local-scheme>
    </front-scheme>
    <back-scheme>
    <remote-cache-scheme>
    <scheme-ref>extend-dist</scheme-ref>
    </remote-cache-scheme>
    </back-scheme>
    <invalidation-strategy>auto</invalidation-strategy>
    </near-scheme>
    <remote-cache-scheme>
    <scheme-name>extend-dist</scheme-name>
    <service-name>ExtendTcpCacheService</service-name>
    <initiator-config>
    <tcp-initiator>
    <remote-addresses>
    <socket-address>
    <address system-property="tangosol.coherence.proxy.address">localhost</address>
    <port system-property="tangosol.coherence.proxy.port">9099</port>
    </socket-address>
    <socket-address>
    <address system-property="tangosol.coherence.proxy.address">127.0.0.1</address>
    <port system-property="tangosol.coherence.proxy.port">9099</port>
    </socket-address>
    <socket-address>
    <address system-property="tangosol.coherence.proxy.address">172.16.1.23</address>
    <port system-property="tangosol.coherence.proxy.port">9099</port>
    </socket-address>
    </remote-addresses>
    <connect-timeout>10s</connect-timeout>
    </tcp-initiator>
    <outgoing-message-handler>
    <request-timeout>5s</request-timeout>
    </outgoing-message-handler>
    </initiator-config>
    </remote-cache-scheme>
    </caching-schemes>
    </cache-config>
    Anyone who knows the root cause please tell me . Thanks .

    The original error shown in the console of the Coherence server as follows :
    2010-11-23 22:27:33.742/1566.313 Oracle Coherence GE 3.6.0.0 <D5> (thread=Proxy:ProxyService:TcpAcceptorWorker:0, member=1): An exce
    ption occurred while processing a PutRequest for Service=Proxy:ProxyService:TcpAcceptor: java.lang.IllegalStateException: SafeNamedC
    ache was explicitly released
    at com.tangosol.coherence.component.util.SafeNamedCache.ensureRunningNamedCache(SafeNamedCache.CDB:23)
    at com.tangosol.coherence.component.util.SafeNamedCache.getRunningNamedCache(SafeNamedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
    at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.put$Router(NamedCacheProxy.CDB:1)
    at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.put(NamedCacheProxy.CDB:2)
    at com.tangosol.coherence.component.net.extend.messageFactory.NamedCacheFactory$PutRequest.onRun(NamedCacheFactory.CDB:6)
    at com.tangosol.coherence.component.net.extend.message.Request.run(Request.CDB:4)
    at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.onMessage(NamedCacheProxy.CDB:11)
    at com.tangosol.coherence.component.net.extend.Channel.execute(Channel.CDB:39)
    at com.tangosol.coherence.component.net.extend.Channel.receive(Channel.CDB:26)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer$DaemonPool$WrapperTask.run(Peer.CDB:9)
    at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
    at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:619)
    It is shown again and again for any operation before the Coherence server is restart.

Maybe you are looking for

  • SQL to Oracle Migraton - Unable to create source model in Migration Workben

    We are trying to use Oracle Migration Workbench utility to transfer data from SQL to Oracle. when we start creating the source model we get the following error :- failed to load source model ora-01401 inserted value too large for column.. this is the

  • Problem with Package Applications

    Ok, I'm trying to migrate an Apex Application from one server to a newer server.... My custom app I used the theme from Go Live CheckList samples.... Well, when trying to install that application I get 'Insufficient space to install application ' wit

  • Can't acess my yahoo mail account says page broken

    I try to access my yahoo email account, it goes to the page and shows the emails then it goes to a page thats says OPPS page broken

  • Pdf for print

    Hi, I sometimes create artwork for printers who i will not have any communication with and so was wondering if some of the more experienced people here could give me some guidelines on the settings to use for publishing to pdf from illustrator. I'm b

  • Help please! CC desktop app does not see latest Adobe Muse!

    I have Muse installed for many months now and would like to update to the latest version of Muse. The CC desktop app maintains that my Muse is up-to-date! Can't be. Please help!