Click or drag to resize

imbStringExtensionsimbGetAbbrevation Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Vraca skracenicu naziva koji ima vise reci - radi i sa jednom, onda prosledjuje imbGetWordAbbrevation

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string imbGetAbbrevation(
	this string source,
	int targetLength = 3,
	bool toCapital = true
)
Request Example View Source

Parameters

source
Type: SystemString
targetLength (Optional)
Type: SystemInt32
toCapital (Optional)
Type: SystemBoolean

Return Value

Type: String

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