Search found 4 matches
- 30 Aug 2007 11:19
- Forum: DOS Batch Forum
- Topic: length should be 8 characters
- Replies: 2
- Views: 9148
Hi All Please find solution for the below query @echo off REM the below mentioned str having more than 8 characters set str=Sivaramnv echo Given Queue Manager Nae %str% set str1=%str:~0,8% echo After 8 Strings the QM name is %str1% set str2=%str% set str2=%str2:~8% echo After 8 Characters result of ...
- 30 Aug 2007 03:04
- Forum: DOS Batch Forum
- Topic: should be numeric only
- Replies: 1
- Views: 7846
should be numeric only
I Want to check the string only numeric
for example
Port=1111 (which i want)
port=wjke111 (which i dont want)
how do i check above condition..
Thnaks & regards
Sivaram Nv
for example
Port=1111 (which i want)
port=wjke111 (which i dont want)
how do i check above condition..
Thnaks & regards
Sivaram Nv
- 30 Aug 2007 03:01
- Forum: DOS Batch Forum
- Topic: string should be only alphanumeric
- Replies: 1
- Views: 8093
string should be only alphanumeric
Hi I Have one problem ,I Taking input from one string that need to be alpha numeric. string=Sivaram001----->(i want this formate) string=S*&^*&varam0!! (this i need to be reject because it is having special characters) how do i do that if you have any solutions please let me know advance tha...
- 30 Aug 2007 02:39
- Forum: DOS Batch Forum
- Topic: length should be 8 characters
- Replies: 2
- Views: 9148
length should be 8 characters
HI I refered this URL to find 8 characters but not working properly m My requirement is set string=abcdefghijk (11 characters i have taken) I need to count the 8 charactes only if it is more than 8 i need to skip anybody can help me to sort out this issue Thanks & Regards Sivaram Nv