Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
DBMan
:
Customization
:
processing a + sign
Previous Thread
Next Thread
Print Thread
View Threaded
Nov 30, 2000, 4:32 PM
shogun
Novice
(24 posts)
Nov 30, 2000, 4:32 PM
Post #1 of 5
Views: 1707
Shortcut
processing a + sign
Does anyone know of a way to escape the "+" sign. If it gets used in a field, it ends up disappearing and I can't think of a way to escape it or anything so that it shows up.
thanks!
Nov 30, 2000, 5:59 PM
Stealth
Veteran
(17240 posts)
Nov 30, 2000, 5:59 PM
Post #2 of 5
Views: 1659
Shortcut
Re: processing a + sign
In reply to
Try the following in the
sub html_record
routine:
Code:
$rec{'FieldName'} =~ s/+/\+/g;
Change
FieldName
to the field name where the plus sign is causing problems.
Regards,
Eliot Lee
Nov 30, 2000, 9:02 PM
shogun
Novice
(24 posts)
Nov 30, 2000, 9:02 PM
Post #3 of 5
Views: 1658
Shortcut
Re: processing a + sign
In reply to
I guess I may have not stated myself clearly, SORRY! What i want to do is print a + sign. every time an entry is entered, say "1+4+3=8"
then the entry is displayed as "1 4 3=8" all i want is a plus sign =)
Dec 4, 2000, 7:13 AM
shogun
Novice
(24 posts)
Dec 4, 2000, 7:13 AM
Post #4 of 5
Views: 1689
Shortcut
Re: processing a + sign
In reply to
any ideas?
Dec 4, 2000, 5:24 PM
AstroBoy
Enthusiast
(720 posts)
Dec 4, 2000, 5:24 PM
Post #5 of 5
Views: 1634
Shortcut
Re: processing a + sign
In reply to
In Reply To:
any ideas?
Unfortunately, no...
Out of curiosity, I just tried adding/modifying records with the string
1+2+3=6
on 3 separate DBMan databases... not one seemed to have a problem.
Is the "+" showing up in
default.db
?
- Mark
Astro-Boy!!
http://www.zip.com.au/~astroboy/
Previous Thread
Next Thread
Print Thread
View Threaded