Click or drag to resize

imbStringCommonToolsgetStringLineList Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
V3: Od multiLine Stringa pravi listu - ako string nema vise linija onda lista sadrzi Input kao prvi element

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static List<string> getStringLineList(
	this string input,
	StringSplitOptions opts = StringSplitOptions.None,
	string onlyWithNeedle = null,
	bool inverseNeedleTest = false
)
Request Example View Source

Parameters

input
Type: SystemString
Ulazni string
opts (Optional)
Type: SystemStringSplitOptions
Na koji način deli string
onlyWithNeedle (Optional)
Type: SystemString
Needle kojim se testira svaka linija. Ako je prazan onda se ne filtrira izlaz
inverseNeedleTest (Optional)
Type: SystemBoolean
Da li da invertuje rezultat contain testa

Return Value

Type: ListString

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also