Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Little bit of Java in VB?

Hi

Those of you that know Java (not the liquid), please help me out.

Remeber in Java one can build up a string seperated by a character o
your choice (eg; #, *, &, etc.) You then use stringTokenizer t
identify this character and to seperate the words.

Is there a way to do this in VB?

Thanx in advanc

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Little bit of Java in VB?

I'm not familiar with Java, but you might want to use the Split
function. E.g.,


Dim S As String
Dim Arr As Variant
Dim N As Integer
S = "abc|def|ghi"
Arr = Split(S, "|")
For N = LBound(Arr) To UBound(Arr)
Debug.Print Arr(N)
Next N


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Soulblade " wrote in
message ...
Hi

Those of you that know Java (not the liquid), please help me

out.

Remeber in Java one can build up a string seperated by a

character of
your choice (eg; #, *, &, etc.) You then use stringTokenizer to
identify this character and to seperate the words.

Is there a way to do this in VB?

Thanx in advance


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Little bit of Java in VB?

Hmm. Looks like the thing I'm looking for.

Thanks a lot

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
java to vba PST Excel Discussion (Misc queries) 4 May 10th 07 11:15 PM
Dialogue with Java v_verno Excel Worksheet Functions 0 January 8th 06 09:11 PM
java script pop ups Jim Excel Worksheet Functions 0 October 21st 05 10:22 PM
java message with VBA Linda Edlund Excel Discussion (Misc queries) 1 June 23rd 05 12:41 PM
Using Excel XLL in Java mikekwok[_2_] Excel Programming 0 October 11th 03 04:38 AM


All times are GMT +1. The time now is 05:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"