on 02-24-2015 1:54 PM
Hi,
Could anybody assist me on this
How do we read every first character of the string value after "/".
.for example 123-/abc/xyz/456
which need to show the result as ax
Thanks,
Nanda
Hi Abhilash,
Continuous to the same thread can we add ',' or '/ 'in between these
For examle:123/nanda/bangalore/india/567
The output should show the value as N/B/I or N,B,I.
Best Regards,
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Abhilash for all your help
Sure I will close the thread.
Sorry to ask you on the same question again. Here below I had given how exactly the output should look like
for example: 123-/abc/xyz/456 the output should show as A/X..but where as I am seeing the output as A/X/.. as per present code..could you please help me on this.
Best Regards,
Nanda
Best Re
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It has solved my issue..Thank you very much for all your help.
Best Regards,
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nanda,
Do you mean to say you only want the 'letters' after each '/'?
Try this :
local stringvar s := {string_field};
local stringvar array ns := split(s, '/');
local numbervar i;
If ubound(ns) > 1 then
(
for i := 2 to ubound(ns) do
(
local stringvar new := new + if ns[i][1] in ['A' to 'Z'] then ns[i][1];
);
);
new;
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.