FlowHeater Logo

FlowHeater Support Forum

simply more productive

Download the freeware version (10 Mb)

Up to 100,000 records can be processed with the freeware version!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: .net String.Contains Method

.net String.Contains Method 11 months 1 day ago #3142

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.

Please Log in or Create an account to join the conversation.

.net String.Contains Method 11 months 17 hours ago #3145

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


File Attachment:

File Name: instring-examples.zip
File Size: 2 KB
Attachments:

Please Log in or Create an account to join the conversation.

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
  • Page:
  • 1
Time to create page: 0.361 seconds