Tags » Lowercase

Custom Ansible filters: Easy solution to difficult problems

I have recently been using Ansible to automate health checks for some of our software-defined network (SDN) infrastructure. One of the devices my code must query for health is a soft router running the SROS operating system. 564 more words

Coding

What is the syntax to see convert a string to lowercase?

<string name>.lower()
#examples
str = 'HELLO WORLD'
str2 = "PassWoRD is 123"

print(str.lower())
print(str2.lower())

#output
hello world
password is 123

why why why (& other sets of threes)

why did i make this blog?  why do i only write in lowercase letters? why do i like books?

for starters, blogging has always been something that interested me.   203 more words

Me

Glauco Salvo ~ 5 Haiku

A compact suite in five parts for banjo, e-bowed zither, and electronics, it is nonetheless the environmental sounds that are the heart of 5 Haiku… 1,195 more words

Field Recording &amp; Soundscape

Change the case of string

#include <iostream>
#include <string>
#include <cctype>

using namespace std;

int main(){
 //Changecase to Uppercase
 string var = "This is a String.";
 for (unsigned int i = 0; i < var.length(); i++){
 if (islower(var[i]))
 var[i] = toupper(var[i]);
 }
 cout << var << endl;
 /*
 Output:
 THIS IS A STRING. 91 more words
C++

Redirect Uppercase to Lowercase in Apache's URL

Just put this in httpd.conf file

RewriteEngine on
RewriteBase /
RewriteMap lowercase int:tolower
RewriteCond $1
RewriteRule ^/?(.*)$ /${lowercase:$1}

Reference:
http://www.askapache.com/htaccess/rewrite-uppercase-lowercase.html

LAMP