What is the C# .NET Silverlight equivalent of componentsSeparatedByString in Objective-C? -


what c# .net silverlight equivalent of componentsseparatedbystring in objective-c?

here how method works in objective-c:

nsstring *namesstr =  @"john;michael;jason"; nsarray *namesarray = [namesstr componentsseparatedbystring:@";"]; 

is there c# .net list?

you can use string.split:

var names = namesstr.split(';'); 

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -