Dynamic data import / export

datenbank

simply more productive
Up to 100,000 records can be processed with the freeware version!
Welcome, Guest
Username: Password: Remember me
Welcome to the FlowHeater support forum.

Questions about using FlowHeater are answered here.
  • Page:
  • 1

TOPIC: .net String.Contains Method

.net String.Contains Method 8 months 6 hours ago #3142

  • Joe
  • Joe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
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 7 months 4 weeks ago #3145

  • FlowHeater-Team
  • FlowHeater-Team's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 275
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
Moderators: FlowHeater-Team
Time to create page: 0.268 seconds