Computer Science Canada 1337 7ra|\|51a73r |
Author: | person [ Sat Feb 26, 2005 2:01 pm ] |
Post subject: | 1337 7ra|\|51a73r |
i know there r many forms of l33t but i got board and made a translator btw i know its not that great and please no caps |
Author: | Flikerator [ Sat Feb 26, 2005 6:05 pm ] |
Post subject: | |
Loop it, and have get ----? get:* to get sentences. Also the words don't look very right.. Also for the caps thing, take each letter one by one and make it into a non cap. I think there is an easy way to do it, if I remember ill repost. |
Author: | cycro1234 [ Sun Feb 27, 2005 12:34 pm ] |
Post subject: | |
Good job ![]() |
Author: | Paul [ Sun Feb 27, 2005 1:06 pm ] |
Post subject: | |
Flikerator wrote: Loop it, and have get ----? get:* to get sentences.
Also the words don't look very right.. Also for the caps thing, take each letter one by one and make it into a non cap. I think there is an easy way to do it, if I remember ill repost. Simple string manipulation run a for loop the length of entire string (length(word)), create another string variable (ex: word2) to hold the lower case string. check if each letter of the original string is uppercase, if yes then word2+=(chr(ord("word(a)")+32)) if not then word2+=word(a) when the for loop ends, you have your original sentence, in lower case. |
Author: | Bacchus [ Sun Feb 27, 2005 1:11 pm ] | ||
Post subject: | |||
Flikerator wrote: Also for the caps thing, take each letter one by one and make it into a non cap. I think there is an easy way to do it, if I remember ill repost. add a certain amount in the ordinal value if its in caps to make it non-caps, pretty sure that number was 32 or something
|
Author: | Drakain Zeil [ Thu Mar 03, 2005 6:36 am ] |
Post subject: | |
I made one of these, they're fun. You should now try something like basic encryption or even compression. |
Author: | person [ Thu Mar 03, 2005 8:33 pm ] |
Post subject: | |
funny thing with incription is that a lot of contests such as last years CCC had questions about them |
Author: | Drakain Zeil [ Fri Mar 04, 2005 7:01 am ] |
Post subject: | |
It is a cool topic. This years j2 was related to it, but it just required finding RSA numbers betweeen x and y.[/i] |
Author: | beard0 [ Sun Mar 20, 2005 8:49 pm ] | ||
Post subject: | |||
Turing Manual wrote: Str.Lower Part of Str module
Syntax Str.Lower (s : string) : string Description The Str.Lower function takes the string s and returns a string in which all the upper case letters are converted to lower case. For example, Str.Lower ("ABC123def") returns "abc123def". Example This program obtains lines of text from the user and outputs the lines converted to lower case.
Status Exported qualified. This means that you can only call the function by calling Str.Lower, not by calling Lower. See also Str.Upper and Str.Trim. |