FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
Complete (Function) Left
Complete (Function) Left
Iniciado por marcov, 07,may. 2024 18:33 - 3 respuestas
Conéctese…
marcov
#1
Miembro registrado
56 mensajes
Publicado el 07,mayo 2024 - 18:33
hi,
How can I complete a string but from the left?
thanks
Informar
0
0
Andrea Chiadò Piat
#2
Miembro registrado
57 mensajes
Popularité : +2 (2 votes)
Publicado el 10,mayo 2024 - 11:38
Procedure
LeftComplete
(
s
InitialString
is string
,
n
FinalLenght
is int
)
RESULT
Complete
(
""
,
n
FinalLenght
-
Length
(
s
InitialString
)
)
+
s
InitialString
Informar
0
0
Mike James
#3
Miembro registrado
24 mensajes
Publicado el 14,mayo 2024 - 00:48
If only the Complete function had a parameter to complete on the left!
Informar
0
0
Antonino
#4
Publicado el 28,mayo 2024 - 18:06
Here's how it can be done using built in functions:
StringReverse
(
Complete
(
StringReverse
(
"TEST_STRING"
)
,
25
,
"A"
)
)
This will return "AAAAAAAAAAAAA_TEST_STRING"
BR
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto