RE: [WebDNA] Check for Ending Carriage Return
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102204
interpreted = N
texte = How about [GetChars start=1&end=1&from=end]text here[/GetChars]-----Original Message-----From: Donovan Brooke [mailto:dbrooke@webdna.us] Sent: Tuesday, March 17, 2009 7:39 AMTo: Mailing listSubject: [WebDNA] Check for Ending Carriage ReturnHello!,linux OS / WebDNA 6.0a..There may be an easy solution for this, but Iam a bit stumped on a solution that doesn't havethe potential to task the CPU.I need to make sure there is an ending carriagereturn in a webdna database (table), on the fly.Since I'm on a linux machine, I do haveaccess to the shell. I was thinking If I coulduse a shell command line to grab the last lineof the database, I could zap that into a textvariable and check for the carriage returnin that variable.Or maybe easier, maybe there is a shell linethat would just grab the last character in a file?(I could do the checks from there)Thanks for the thoughts!Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
How about [GetChars start=1&end=1&from=end]text here[/GetChars]-----Original Message-----From: Donovan Brooke [mailto:dbrooke@webdna.us] Sent: Tuesday, March 17, 2009 7:39 AMTo: Mailing listSubject: [WebDNA] Check for Ending Carriage ReturnHello!,linux OS / WebDNA 6.0a..There may be an easy solution for this, but Iam a bit stumped on a solution that doesn't havethe potential to task the CPU.I need to make sure there is an ending carriagereturn in a webdna database (table), on the fly.Since I'm on a linux machine, I do haveaccess to the shell. I was thinking If I coulduse a shell command line to grab the last lineof the database, I could zap that into a textvariable and check for the carriage returnin that variable.Or maybe easier, maybe there is a shell linethat would just grab the last character in a file?(I could do the checks from there)Thanks for the thoughts!Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/
"Olin Lagon"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Displaying photo attached to first record (1997)
b12 cannot limit records returned and more. (1997)
creating a ShipCosts database (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Webstar 1.3.1 PPC (1997)
[ConvertChars] problem (1997)
Listserver problem (1997)
Dropdown menus (2006)
How to Display text in empty fields (1997)
New Command prefs ... (1997)
Is there an easier way? (1998)
Error - Search / Showif (2000)
japanese characters (1997)
WC Bulletin Board Issue (2003)
Protect vs Authenicate (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
[OT] Security Certs (2000)
RE: Emailer prefs in two places ... (1997)
Bit off subject -- Faxing orders (1997)
Unexpected error (1997)