Indigo Rose Software
  #1  
Old 10-05-2004
brianlesker brianlesker is offline
Forum Member
 
Join Date: Oct 2003
Posts: 49
String.find String.left slow, why?

Can somebody tell me why the following code is VERY slow while running:
Maybe there is a better why to code it.

strThinClientReal1 is a variabele path. The code is to extract d:\DIR from strThinClientReal1 .
Code:
strThinClientReal1 = "d:\\oracle6i\\forms60\\server";

strThinClientPathSearch = String.Find(strThinClientReal1, "\\", 4, true);
strOracle6iPath = String.Left(strThinClientReal1, strThinClientPathSearch);
strOracle6iPathStripped = String.TrimRight(strOracle6iPath, "\\");
Reply With Quote
  #2  
Old 10-05-2004
brianlesker brianlesker is offline
Forum Member
 
Join Date: Oct 2003
Posts: 49
Sorry, it's not slow it was something else....but maybe the code can be better, some suggestions?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cd si runing slow Tarsuar AutoPlay Media Studio 4.0 4 09-16-2003 03:32 AM
AMS 4.0.0.4 List boxes load slow? stagemon AutoPlay Media Studio 4.0 0 07-12-2003 02:59 PM
Slow pop up? PeLLaRaS AutoPlay Media Studio 4.0 0 09-09-2002 06:28 AM
Progress Bar slow on big install hank Setup Factory 6.0 1 08-07-2002 03:28 PM
Avi video is slow shortstories AutoPlay Menu Studio 3.0 3 03-25-2002 08:40 PM


All times are GMT -6. The time now is 12:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software