String Question

ADO DOT NET

Centurion
Joined
Dec 20, 2006
Messages
160
Hi,
How can I check how many "/" is in a string, JUST with .net functions?
Is there a straight way without looping?
Thanks.
 
Without getting involved with regular expressions a simple loop is probably easiest; unless the string is very large performance is unlikely to suffer either.

Out of interest what are you trying to do? There may be an alternate method that saves you the trouble...
 
Back
Top