Hi maXim,
just as a small hint, there is no need to code the ugly (

) keyword
Goto.
The
Do While function in connection with the
Exit statement is a much better solution:
Code:
Sub fncLTRIM(xString)
If StrLength(xString) < 1 Then Return ""
xs = xString
Do While StrLength(xs) > 0
If SubString(xs, 0, 1) = Chr(32) Then
xs = SubString(xs, 1, StrLength(xs) - 1)
Else
Exit
End If
Loop
Return xs
End Sub
specci48