Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
6 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
I have an Idea that Twitter Engineers could implement in a heart beat (Original Post) Le Roi de Pot Oct 2020 OP
This message was self-deleted by its author lapfog_1 Oct 2020 #1
wrote 4 lines of "C" that would do the trick lapfog_1 Oct 2020 #2
Can you do JavaScript that I can add to my browser? Le Roi de Pot Oct 2020 #3
here ya go lapfog_1 Oct 2020 #4
I recall writing in 8086 assembly language to do the reverse Yonnie3 Oct 2020 #5
OR with hex 20 to lowercase... NAND with hex 20 to make upper case lapfog_1 Oct 2020 #6

Response to Le Roi de Pot (Original post)

lapfog_1

(29,213 posts)
2. wrote 4 lines of "C" that would do the trick
Wed Oct 7, 2020, 08:13 PM
Oct 2020

but I can't post it because of all the special characters.

there is an existing function call as well... although less efficient than the code I wrote

https://www.tutorialspoint.com/c_standard_library/c_function_tolower.htm

Yonnie3

(17,444 posts)
5. I recall writing in 8086 assembly language to do the reverse
Wed Oct 7, 2020, 08:21 PM
Oct 2020

To capitalize everything for an industrial control programming terminal. Silly people would load ASCII with lower case via the RS-232 port.

I am old as dirt.

lapfog_1

(29,213 posts)
6. OR with hex 20 to lowercase... NAND with hex 20 to make upper case
Wed Oct 7, 2020, 08:31 PM
Oct 2020

if the ASCII in question is between the ranges you want to either upper or lower.

I'm older than dirt too.

Latest Discussions»General Discussion»I have an Idea that Twitt...