Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 305 results for
string-collapse;
- Page 1
collapse white space in string
Programming
Software Development
15 Years Ago
by dinilkarun
I would like to
collapse
whitespace in a
string
of the followinf foramat using a some pre defined functionalities. XXXXX<space>-<space>XXXX shoud be converted to XXXXX-XXXXX XXXXX<space>-XXXXX shoud be converted to XXXXX-XXXXX Please help
Android Native - Material 3 Card Expanding Animation
Programming
Mobile Development
1 Year Ago
by dimitrilc
… View.GONE){ button.text = getString(R.
string
.
collapse
) textView.visibility = View.VISIBLE } else { button…TransitionManager.beginDelayedTransition(card) button.text = getString(R.
string
.
collapse
) textView.visibility = View.VISIBLE } else {…
Re: php Expand and Collapse search results
Programming
Web Development
12 Years Ago
by broj1
… element in each sub-array) asort($cars_array); // start a
string
for table $tbl = '<table border="1"&…// else make the style for the row
collapse
(not visible) } else { $tr_sty = 'visibility:
collapse
"'; // row class (you will need …
Write string to iFrame as XML without Ajax or Server-Side Scripting
Programming
Web Development
12 Years Ago
by v_sriram
…it shows up as formatted XML with the expand(+) and
collapse
(-) options that default in IE when opening an XML…dont have admin rights. Secondly I tried appending the
string
as innerHTML to that iframe but only the content …to HTML, Javascript and vbScript. I am receiving the
string
as a responseText from an ajax request which is consuming…
Re: collapse white space in string
Programming
Software Development
15 Years Ago
by mengqing
-
Re: collapse white space in string
Programming
Software Development
15 Years Ago
by Ene Uran
Something like this should do: [code=python]s = 'xxxxx - xxxxx' space = ' ' nospace = '' s = s.replace(space, nospace) print s # xxxxx-xxxxx [/code]
Re: collapse white space in string
Programming
Software Development
15 Years Ago
by bvdet
[code]>>> s = 'XXXXX -\n\t XXXX' >>> ''.join(s.split()) 'XXXXX-XXXX' >>> [/code]
Re: collapse white space in string
Programming
Software Development
15 Years Ago
by dinilkarun
Thanks a lot. Its working now.
Re: Write string to iFrame as XML without Ajax or Server-Side Scripting
Programming
Web Development
12 Years Ago
by twiss
You could try to use document.open('text/xml'): [url]http://bytes.com/topic/javascript/answers/94628-change-iframe-contenttype[/url]
Re: Write string to iFrame as XML without Ajax or Server-Side Scripting
Programming
Web Development
12 Years Ago
by v_sriram
I tried something like this... [CODE] newWindow = window.open(""); newDocument = newWindow.document.open("text/xml"); newDocument.write(xmlText); newDocument.close(); [/CODE] Its actually writing things in the titlebar of the new window I opened. When I do a view source... it displays the entire XML fine. Please …
Re: Write string to iFrame as XML without Ajax or Server-Side Scripting
Programming
Web Development
12 Years Ago
by twiss
Some thoughts: IE really doesn't support text/xml anymore (why?). I know you said you can't use anything remote, but, as I can't think of another solution :) : you could remotely (on another server) host a server-side that just echos back some GET variable (for example [icode]<?php echo $_GET['code']; ?>[/icode]), and then set the iframe's …
Re: Write string to iFrame as XML without Ajax or Server-Side Scripting
Programming
Web Development
12 Years Ago
by v_sriram
Thanks @twiss, Unfortunately, I have no access to setup my own or host a file on a server; not even a php one-liner :(. So I guess I will need to keep searching and figure out an out-of-the ordinary process to achieve this :). I will definitely keep the forum posted of my progress. Hopefully I will hit eureka! soon.
Multiple variables passed via querystring
Programming
Web Development
13 Years Ago
by julianmoors
…text/javascript"> function showCourse(
string
) { if (
string
== "") { document.…0px; padding: 0px; } table#search { border-
collapse
:
collapse
; margin: auto; width: 956px; } table#…
Re: Multiple variables passed via querystring
Programming
Web Development
13 Years Ago
by julianmoors
…lt;script type="text/javascript"> function showCourse(
string
) { if (
string
== "") { document.getElementById("dynamic_display").innerHTML… th { border: solid #000000 1px; } table#results { border-
collapse
:
collapse
; margin: auto; width: 956px; } table#results tr th { …
Re: Multiple variables passed via querystring
Programming
Web Development
13 Years Ago
by vibhaJ
…;script type="text/javascript"> function showCourse(
string
,key) { if (
string
== "") { document.getElementById("dynamic_display").innerHTML…tr th { border: solid #000000 1px; } table#results { border-
collapse
:
collapse
; margin: auto; width: 956px; } table#results tr th { background…
ASP.NET Zedgraph.Web How to remove duplicate legend?
Programming
Web Development
14 Years Ago
by qwedster
…WhiteSmoke; myPane.YAxis.MajorGrid.Color = Color.WhiteSmoke;
string
str =
string
.Empty; LineItem myCurve = myPane.AddCurve("Power ….T2C2NT1 { width: 50px; height: 444px; margin: 0; padding: 0; border-
collapse
:
collapse
; } .T2C2NT1C1 { width: 60px; height: 10px; } .T2C2NT1C2 { width:…
JSP Combobox
Programming
Web Development
15 Years Ago
by Dolly-Sweety
… */ public class FormBean { private
String
name; private
String
mname; private
String
lname; private
String
email; private
String
address; private
String
cr; public FormBean() { name=&…align="left"> <table style="border-
collapse
:
collapse
;" border="1" bordercolor="tan"…
Error while Reading from Sql Using Servlet
Programming
Software Development
11 Years Ago
by aeshabana
…
String
string2,
String
string3,
String
string4,
String
string5,
String
string6,
String
string
,
String
string7) { } public RegisterEntry(
String
firstName,
String
lastName ,
String
email1,
String
areaCode,
String
prefix,
String
suffix,
String
…println("</div><!--/.nav-
collapse
-->"); out.println("<…
javascript works in IE but not working in firefox
Programming
Web Development
17 Years Ago
by sendkamal
….lastIndexOf("expand.gif") != -1) { uMe.src = "
collapse
.gif"; } else { uMe.src = "expand.gif"; …browser attach event function. For 'evt' pass a
string
value with the leading "on" omitted… }, getInnerText : function(el) { if (typeof el == "
string
") return el; if (typeof el == "undefined") …
How do I update?
Programming
Web Development
14 Years Ago
by RickyG
…gt; <asp:Parameter Name="BusinessUnit" Type="
String
" /> </UpdateParameters> <InsertParameters>…;1" style="background-color: #FFFFFF;border-
collapse
:
collapse
;border-color: #999999;border-style:none;border-width:1px…
Re: How do I update?
Programming
Web Development
14 Years Ago
by rohand
…gt; <asp:Parameter Name="BusinessUnit" Type="
String
" /> </UpdateParameters> <InsertParameters>…;1" style="background-color: #FFFFFF;border-
collapse
:
collapse
;border-color: #999999;border-style:none;border-width:1px…
Front Page form
Programming
Web Development
13 Years Ago
by malcolm2979
…="0" cellpadding="0" style="border-
collapse
:
collapse
; border: medium none; margin-left: .45in" width=&…-name="University/ Board" s-data-type="
String
" b-allow-letters="TRUE" b-allow-…-Name="University/ Board" S-Data-Type="
String
" B-Allow-Letters="TRUE" B-Allow-…
problem in converting HTML to PDF using tidy
Programming
Software Development
14 Years Ago
by jaiprakash15
…return (Document) domResult.getNode(); } private static Transformer getTransformer(
String
styleSheet) { try { TransformerFactory tFactory = TransformerFactory.newInstance(); … <xsl:attribute name="border-
collapse
">
collapse
</xsl:attribute> <xsl…
No data coming from MySQL table.
Programming
Web Development
13 Years Ago
by billmudry
…the margin would have, without the margin
collapse
issue */ } p.webnote {margin: 20px… /* =========================================================================== XXXXXXXXXXX GET THE SEARCH TYPE AND SEARCH
STRING
FROM THE FORM XXXXXXXXXXX =========================================================================== */ $searchtype = @$…
DataBinding With OLEDB and asp:ListView
Programming
Web Development
11 Years Ago
by Goshutu
…quot;1" style="background-color: #FFFFFF;border-
collapse
:
collapse
;border-color: #999999;border-style:none;border-width:1px…gt; <asp:Parameter Name="REGION" Type="
String
" /> <asp:Parameter Name="EDITCOUNT"…
Calendar window is not coming for the Dynamic rows
Programming
Web Development
18 Years Ago
by manish Kishore
…" cellspacing="0" style="border-
collapse
:
collapse
" bordercolor="#111111" width="1316"…Display-Name="Understanding" S-Data-Type="
String
" B-Allow-Letters="TRUE" B…Display-Name="Description" S-Data-Type="
String
" B-Allow-Letters="TRUE" B…
Problem in cURL with HTTP POST
Programming
Web Development
14 Years Ago
by hemgoyal_1990
…data from loop it display me only first
string
the remaining
string
it not print. I am Use this Code…" cellspacing="0" style="border-
collapse
:
collapse
" bordercolor="#111111" width="100%"… } ?>[/ICODE] This only send first
string
to server the all explode
string
not sending by it. Please Help Me.…
How to attach or combine two python files?
Programming
Software Development
13 Years Ago
by sandeepxd
…: 1px solid #666; padding: 0px;} #userinfo {border-
collapse
:
collapse
; padding:0px} #userinfo td {border-
collapse
:
collapse
; cell-spacing: 0px; vertical-align:top} #picture {margin…; returns an html page (in the appropriate language) as a
string
""" # -- Parse accept-language header if not self…
Re: Query results in different tabs?
Programming
Web Development
14 Years Ago
by kristo5747
… * Function `mysql_real_escape_string()` escapes special characters in a
string
for use in a SQL statement. * */ $…: 1px 1px 1px 1px; border-spacing: 0; border-
collapse
:
collapse
; } #mytd { margin: 0; padding: 4px; …* Function `mysql_real_escape_string()` escapes special characters in a
string
for use in a SQL statement. */ $result…
Cryptography Fun
Programming
Software Development
18 Years Ago
by G-Do
…(text)): cipher = ciphers[i%len(alphakey)] substitute = cipher[
string
.find(major, text[i])] ciphertext = ciphertext+substitute return ciphertext …redunant characters from the keyword and alphakey keyword, alphakey =
collapse
(keyword),
collapse
(alphakey) # Return all three strings return text, keyword,…
1
2
3
6
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC