Re: Converting characters to numbers ...
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14839
interpreted = N
texte = >Ie Surname> First Name> Middle Name>>Now is there anyway that I can get this data via webcatalog to a database >where I can then>Assign each character of surname a number. These numbers then relate to a >font character>So that in theory when a user enters their name in the fields the page >when submitted will>Return a form that has all their details completely formatted in graphical >text and looking pretty.1. Create a graphic for each letter like A.gif a.gif B.gif b.gif and so on till you've got enough. Make sure you've got all text covered like '- or whatever accents you expect. Put all of your graphic files in a directory called fonts or whatever you want. 2. Use the following snippet:[loop start=1&end=[CountChars][surname][/CountChars]]
[/loop]If [surname] = Kealoha, this would return:
I haven't tested this but something like this should work. I don't know why you want to do this though unless this is for a specific-looking format like an online certificate or something like that. Aloha, Olin...................................................................... W o r l d P o i n t Olin Kealoha Lagon .. The Language Company(TM) director, special projects .. .. Honolulu San Francisco olin@worldpoint.com .. 2800 woodlawn drive 222 sutter street www.worldpoint.com .. suite 170 sixth floor (v) 808.539.3978 .. honolulu, hi 96822 san francisco, ca 94108 (f) 808.539.3943 .. .. Over 3,000 Translators - Any Language, Any Time, Any Place ......................................................................
Associated Messages, from the most recent to the oldest:
>Ie Surname> First Name> Middle Name>>Now is there anyway that I can get this data via webcatalog to a database >where I can then>Assign each character of surname a number. These numbers then relate to a >font character>So that in theory when a user enters their name in the fields the page >when submitted will>Return a form that has all their details completely formatted in graphical >text and looking pretty.1. Create a graphic for each letter like A.gif a.gif B.gif b.gif and so on till you've got enough. Make sure you've got all text covered like '- or whatever accents you expect. Put all of your graphic files in a directory called fonts or whatever you want. 2. Use the following snippet:[loop start=1&end=
[countchars][surname][/CountChars]]
[/loop]If [surname] = Kealoha, this would return:
I haven't tested this but something like this should work. I don't know why you want to do this though unless this is for a specific-looking format like an online certificate or something like that. Aloha, Olin...................................................................... W o r l d P o i n t Olin Kealoha Lagon .. The Language Company(TM) director, special projects .. .. Honolulu San Francisco olin@worldpoint.com .. 2800 woodlawn drive 222 sutter street www.worldpoint.com .. suite 170 sixth floor (v) 808.539.3978 .. honolulu, hi 96822 san francisco, ca 94108 (f) 808.539.3943 .. .. Over 3,000 Translators - Any Language, Any Time, Any Place ......................................................................
Olin
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:
[WebDNA] Limited Time Discount on WebDNA Server licenses (2013)
Server crash (1997)
ISPs and WebCat (2001)
Parameter Passing (2000)
Help with a pull down menu (1999)
How does 4DWebSTAR V's cache work? (2002)
Help name our technology! (1997)
expired beta (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Duplicate Carts (2000)
test (1999)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
.. more on sliding discounts... (1997)
Timer Values on [redirect] (1998)
Multiple serial numbers (1997)
b12 cannot limit records returned and more. (1997)
Balancing randomness (2000)
I've got a Bad Case of the Dreaded ÊÊÊÊs! Help Me STOP theÊÊÊÊs Please! (2002)
Cart Numbers (1997)
It gets better... posting problems + Webcat 3.0.7 available - did anyone know? (2000)