Author |
Message
|
ManojNTT |
Posted: Sun Dec 06, 2015 11:46 pm Post subject: Length Validation |
|
|
Newbie
Joined: 03 Dec 2015 Posts: 6
|
How many possible ways to validate below message?
Example message:
<root>
<Name>ABCD</Name>
</root>
I need to validate it as below.
Name shouldn't be less than 2 characters and not more than 3 characters.
How can I validate it in IIB? |
|
Back to top |
|
 |
timber |
Posted: Mon Dec 07, 2015 12:48 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Please list the ways that you know about already, so that we don't have to waste our time telling you things that you already know. |
|
Back to top |
|
 |
ManojNTT |
Posted: Mon Dec 07, 2015 1:17 am Post subject: |
|
|
Newbie
Joined: 03 Dec 2015 Posts: 6
|
I don't know anything much about this. I know one way that we can use length function , but I don't know how to use it in this case.
Thanks in advance  |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Dec 07, 2015 1:33 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
ManojNTT wrote: |
I don't know anything much about this. I know one way that we can use length function , but I don't know how to use it in this case.
Thanks in advance  |
May I humbly suggest that you get some formal training. This will give you the ESQL Language skills to start development in this complex but very powerful product. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
timber |
Posted: Mon Dec 07, 2015 2:33 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
|
Back to top |
|
 |
|