FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Replace " character
Replace " character
Débuté par Ruan, 30 mai 2016 13:33 - 4 réponses
Connectez-vous…
Ruan
#1
Membre enregistré
209 messages
Popularité : +1 (1 vote)
Posté le 30 mai 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
Signaler
0
0
Tim
#2
Membre enregistré
34 messages
Popularité : +3 (3 votes)
Posté le 09 août 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
Signaler
0
0
Mister RUAN
#3
Membre enregistré
209 messages
Popularité : +1 (1 vote)
Posté le 10 août 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!!!
Message modifié, 10 août 2016 - 07:59
Signaler
0
0
Rafaelo
#4
Membre enregistré
3 messages
Posté le 10 août 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
=
""
""
Signaler
0
0
Fabrice Harari
#5
Posté le 10 août 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
=
""
""
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte