platnm0705
12-19-2006, 12:19 PM
I am trying to display a field only if a string contians a certain character, for example (I know the code is wrong, just an example):
IF str1 CONTAINS "this character"
THEN result = "it works"
ELSE result = "not working"
In my real case I need to search a string for an asterisk (*) and only show the string if it contains the asterisk:
IF RS("notes") CONTAINS "*" THEN
response.write " RS("notes") "
Any help would be much appreciated
IF str1 CONTAINS "this character"
THEN result = "it works"
ELSE result = "not working"
In my real case I need to search a string for an asterisk (*) and only show the string if it contains the asterisk:
IF RS("notes") CONTAINS "*" THEN
response.write " RS("notes") "
Any help would be much appreciated