Is there any way that we can handle "&" from the input strings.??
For handling any special characters , we can specializee the string using CTRAN,GETTOK.
Even for these functions, we need to find the length of the input string. So even in that case too , the string that is followed by & is treated as a variable.
So is there any way to handle it ??This message has been edited. Last edited by: Kerry,
October 21, 2008, 05:14 AM
FrankDutch
Naveen
you can say
TYPE &INPUTSTRING
This will give you the value
TYPE &INPUTSTRING.LENGTH
This will give you the length
is this what you need?
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
October 21, 2008, 05:17 AM
SHOBIA
Navin You can try '&|string'.So it will not consider as variable.
Shobia.J --------------- WF 7.6.1,SQL Server
October 21, 2008, 02:22 PM
susannah
CTRAN THIS: 37 TO THIS: 43 in your inbound string that changes & to +
.LENGTH is good if your inbound has no trailing blanks. otherwise ARGLEN function is a good bet.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
October 28, 2008, 12:18 AM
<Navin>
Thanks Shobia.
Your approach worked. SO all I need to do is , after the user enters a string from the frontend , i have to replace the string which has & to &| , so that i can handle it in fex.
Susannah , the problem is that , if i am applying any functions over a string that has & , then that will upright throw an error asking for a value.