FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
WDM22 - String To HTML
WDM22 - String To HTML
Débuté par André Labuschagné, 28 aoû. 2018 04:13 - 1 réponse
Connectez-vous…
André Labuschagné
#1
Posté le 28 août 2018 - 04:13
Hi All
I am displaying some string content in an html control in iOS and Android. I need to make the contents of this string display with "line feeds". So I guess I need to change the line feeds in the string to <BR> before including it in the html control. Is there a function to do that or should I just do a search and replace? If the latter how would I go about doing the search and replace?
Cheers
André
Signaler
0
0
André Labuschagné
#2
Posté le 28 août 2018 - 05:30
Sorted. In WX23 you have TextToHTML
In WX22 that I am currently using the following did the trick:
MyString = Replace(MyString,CRLF,"<BR>")
Cheers
André
Signaler
0
0
→ Revenir à WINDEV 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