This commit is contained in:
2024-01-08 11:09:04 -07:00
parent b92fede0e3
commit b24ad9f94d

View File

@@ -823,7 +823,7 @@ Namespace Extensiones
End Function
<Runtime.CompilerServices.Extension()>
Public Function SubStringADS(Str As String, Longitud As Integer) As String
Return Str.Substring(0, If(Str.Length > 30, 30, Str.Length))
Return Str.Substring(0, If(Str.Length > Longitud, Longitud, Str.Length))
End Function
<Runtime.CompilerServices.Extension()>