- Posts: 31
.net String.Contains Method
- Joe
- Topic Author
- Offline
- User
-
Less
More
#3142
by Joe
.net String.Contains Method was created by Joe
I am not familiar with .net syntax. Can anyone supply an example of a .net script to use in the .net heater?
I need to search an input string for "My text" and return true or false.
I need to search an input string for "My text" and return true or false.
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
-
- Offline
- Admin
-
Less
More
- Posts: 455
#3145
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic .net String.Contains Method
Hi Joe,
To check whether a string contains another one it´s not necessary to use the .NET Script Heater . You can to this also with the String Replace Heater with simple setting like the screenshot below.
Nevertheless I´ve attached a brief example for you with two additional ways. First do this with the String Replace Heater and second by a short C# .NET Script using InString().
String Replace Heater settings
To check whether a string contains another one it´s not necessary to use the .NET Script Heater . You can to this also with the String Replace Heater with simple setting like the screenshot below.
Nevertheless I´ve attached a brief example for you with two additional ways. First do this with the String Replace Heater and second by a short C# .NET Script using InString().
String Replace Heater settings
This attachment is hidden for guests.
Please log in or register to see it.
Please log in or register to see it.
Best wishes
Robert Stark
Please Log in or Create an account to join the conversation.
Time to create page: 0.121 seconds
