FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Replace " character
Replace " character
Iniciado por Ruan, 30,may. 2016 13:33 - 4 respuestas
Conéctese…
Ruan
#1
Miembro registrado
208 mensajes
Popularité : +1 (1 vote)
Publicado el 30,mayo 2016 - 13:33
Good Day
I am trying to replace the " in a string and it sees it as an error...What should I add for the system to see the " as a character.
InitialString is
string
=
EDT_
Text1
s
ReplacedString is
string
=
Replace
(
InitialString
,
" " ", "
")
Thanks
Ruan
Informar
0
0
Tim
#2
Miembro registrado
34 mensajes
Popularité : +3 (3 votes)
Publicado el 09,agosto 2016 - 15:42
Hello Ruan,
I just ran into this problem a couple of days ago
Use this:
InitialString is
string
=
EDT_
Text1
s
StringToErase is
string
= [
"
]
s
ReplacedString is
string
=
Replace
(
InitialString
,
s
StringToErase
,
""
)
Kind regards,
Tim
Informar
0
0
Mister RUAN
#3
Miembro registrado
208 mensajes
Popularité : +1 (1 vote)
Publicado el 10,agosto 2016 - 07:58
Tim wrote:
Hello Ruan,
I just ran into this problem a couple of days ago
Use this:
InitialString is
string
=
EDT_
Text1
s
StringToErase is
string
= [
"
]
s
ReplacedString is
string
=
Replace
(
InitialString
,
s
StringToErase
,
""
)
Kind regards,
Tim
Thanks so much Tim!!!
Mensaje modificado, 10,agosto 2016 - 07:59
Informar
0
0
Rafaelo
#4
Miembro registrado
3 mensajes
Publicado el 10,agosto 2016 - 10:03
There no need to define de double quotes with 3 code lines, simply create a string with two double quotes inside.
DoubleQuote
=
""
""
Informar
0
0
Fabrice Harari
#5
Publicado el 10,agosto 2016 - 16:44
Or simply use charact(34)
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 8/10/2016 à 2:03 AM, Rafaelo a écrit :
There no need to define de double quotes with 3 code lines, simply
create a string with two double quotes inside.
DoubleQuote
=
""
""
Informar
0
0
→ Volver a WEBDEV 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