on 07-14-2009 10:03 PM
Another one for you experts:
Is there a way to count the number of "-" in the strings below:
For instance:
1133500-1-RTN-629-RHR
1133541-10-SRTN-F-630-LR
Should return:
4
5
respectively.
Any ideas?
Thanks in advance,
Zack H.
stringvar x := '1133541-10-SRTN-F-630-LR';
stringvar array z := split(x,'-');
ubound(z)-1;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.