NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Split a string in a NetWebBrowse column?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Split a string in a NetWebBrowse column? (Read 3430 times)
Nick
Full Member
Posts: 118
Split a string in a NetWebBrowse column?
«
on:
February 02, 2014, 08:21:31 AM »
How can I split a string in a NetWebBrowse column like this?
string: My Company 133 MyStreet MyPlace
My Company
133 MyStreet
MyPlace
In html I could use breaks <br> but that doesn't seem to work here.
TIA,
Nick
Logged
Nick
Full Member
Posts: 118
Re: Split a string in a NetWebBrowse column?
«
Reply #1 on:
February 02, 2014, 09:34:01 AM »
If I allow xHtml in the column I thought I could use: '<br⁄>' ( <br/> ) but that doesn't work and '<br/>' neither.
Anybody knows how to do this?
TIA,
Nick
Logged
Nick
Full Member
Posts: 118
Re: Split a string in a NetWebBrowse column?
«
Reply #2 on:
February 02, 2014, 10:07:41 AM »
Ok got it just <br /> encoding seems not necessary or doesn't work? Anyway it works.
I had to change this 4 times before it had any effect!!
Finally I switched on a random template-checkbox and that did it. After that the generated code changed.
I've seen that before: the checkbox-change triggers it.
Very tedious working if you're not sure if a change really makes it way to the generated code.
Yes I checked the generated code, the old stuf was there and showed on screen in the table-column.
C9 or Nettalk-template?
Nick
Logged
Bruce
Global Moderator
Hero Member
Posts: 11244
Re: Split a string in a NetWebBrowse column?
«
Reply #3 on:
February 02, 2014, 10:41:22 PM »
the whole point of "allow html" is to allow you to include xHTML.
<br> is not valid, but <br/> is (as you've discovered).
'<br⁄>' is just text, and will thus be displayed as just text.
Cheers
Bruce
Logged
Nick
Full Member
Posts: 118
Re: Split a string in a NetWebBrowse column?
«
Reply #4 on:
February 03, 2014, 01:35:35 AM »
Yes that's clear. I only tried '<br⁄>' because the help-text speaks about "encoding &, < and > signs".
Cheers,
Nick
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Split a string in a NetWebBrowse column?