메소드 | 설명 | |
---|---|---|
Cut ( this line, int maxLength ) : string |
If string is more then maximum length then it will be cutten for maximum length and last 3 symbols will be changed for "..."
|
|
Fill ( this format ) : string |
Fill string if it is a format string with current arguments.
|
|
IsNullOrEmpty ( this line ) : bool |
Check if string is empty, or is null or is only spaces in it.
|
|
Or ( this line, string defaultValue ) : string |
Check if string is empty, or null or only spaces in it then return default value. Otherwise return current string.
|
public static Cut ( this line, int maxLength ) : string | ||
line | this | |
maxLength | int | Maximum length of string |
리턴 | string |
public static Or ( this line, string defaultValue ) : string | ||
line | this | |
defaultValue | string | Default value |
리턴 | string |