Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. java string

java string

Scheduled Pinned Locked Moved Java
javadata-structures
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Trupti001
    wrote on last edited by
    #1

    can I convert a string token into a char array or string array

    J P 2 Replies Last reply
    0
    • T Trupti001

      can I convert a string token into a char array or string array

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      At best the question is not precise. A "string token" doesn't mean anything in terms of the java language. Now you might write a program that uses a "string token" but in general computer science jargon a "token" is a small non-dividable entity. There would be no point in converting it to a char array and even less point of creating a string array from it. And at best the latter would be nothing more than taking each character and making it into a string. But then you might mean something different for "string token". If so you need to explain what you actually meant.

      1 Reply Last reply
      0
      • T Trupti001

        can I convert a string token into a char array or string array

        P Offline
        P Offline
        Peter_in_2780
        wrote on last edited by
        #3

        Have a look at String.toCharArray() ? See here[^] Cheers, Peter

        Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups