Selerix Developer Tools
LeftStr Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > Utils Class : LeftStr Method
string
lenght
Lefts the string. Trims string to specified lenght
Syntax
'Declaration
 
Public Shared Function LeftStr( _
   ByVal str As String, _
   ByVal len As Integer _
) As String
'Usage
 
Dim str As String
Dim len As Integer
Dim value As String
 
value = Utils.LeftStr(str, len)
public static string LeftStr( 
   string str,
   int len
)
public function LeftStr( 
    str: String;
    len: Integer
): String; static; 
public static function LeftStr( 
   str : String,
   len : int
) : String;
public: static string* LeftStr( 
   string* str,
   int len
) 
public:
static String^ LeftStr( 
   String^ str,
   int len
) 

Parameters

str
string
len
lenght
See Also

Reference

Utils Class
Utils Members