if i have information like this a->b->c->d->MESSAGE,how do i tokenize it such that i get
a,b->c->d->MESSAGE from the original string???????????
ssdeep
9
Light Poster
Recommended Answers
Jump to Postif i have information like this a->b->c->d->MESSAGE,how do i tokenize it such that i get
a,b->c->d->MESSAGE from the original string???????????well ... if you used a StringTokenizer here, with "->" as separator, you wouldn't. you would get
{"a","b","c","d"}now ... what exactly do you need? do you need the …
Jump to Posttwo parts -> or to halves. that's a huge difference.
if I understand it correctly, your most foreward sollution is, as I first suggested, using the indexOf and substring methods.but, for further posts, let me give you some advice.
don't just ask for sollutions, provide what you have …
All 5 Replies
stultuske
1,116
Posting Maven
Featured Poster
ssdeep
9
Light Poster
stultuske
1,116
Posting Maven
Featured Poster
ssdeep
9
Light Poster
stultuske
1,116
Posting Maven
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.