Click here to Skip to main content
15,915,019 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
String Functions
eg:-
I'm sending input like
1.asia
2.africa
3.asia2
4.asia14662
5.europe
6.asianet

among these 5 inputs i want all the asia's output.
i don't know how to compare all the input's with keyword asia
the outputs i want 1,3,4,6. which condition should i use to get this in SSIS
C# scripiting
Posted
Updated 12-Jan-13 11:51am
v2

 
Share this answer
 
v2
Hi Raju you can use StartsWith method of string

string Temp = yourString.StartsWith("asia",false);
(false is used to ignore case).

Hope this help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900