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.
Flowheater Download

.net String.Contains Method

More
7 years 6 days ago #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.

Please Log in to join the conversation.

More
7 years 6 days ago #3145 by FlowHeater-Team
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


File Attachment:

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

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.
Attachments:

Please Log in to join the conversation.

Time to create page: 0.309 seconds

FlowHeater - The Data Specialist

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

Rechtliches

Support & Contact

Kontaktinformation

Telefon:0951 / 99339792 E-Mail:This email address is being protected from spambots. You need JavaScript enabled to view it.

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