Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Up to 100,000 records can be processed with the freeware version!
Flowheater Chart

.net String.Contains Method

More
7 years 9 months ago #3142 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.

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

More
7 years 9 months ago #3145 by FlowHeater-Team
Replied by FlowHeater-Team on topic .net String.Contains Method - Post(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

Best wishes
Robert Stark

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

Time to create page: 0.259 seconds
FlowHeater Logo

FlowHeater - The Data Specialist

Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.

Legal information

Support & Contact

Contact

Phone:
0951 / 9933 9792

eMail:
This email address is being protected from spambots. You need JavaScript enabled to view it.


Copyright © 2009-2024 by FlowHeater GmbH. All rights reserved.