DevEdge
Diese Site durchsuchen
Navigation
Home
.htaccess
robots.txt
CSS
JavaScript
jQuery
jQuery UI
Perl
PHP
Python
Ruby
MySQL
Objective-C
Swift
Google Apps Script
Google Mail
Google Text & Tabellen
Google Custom Search Engine
Google Places API
Blogger
Zendesk
CodeIgniter
phpBB
Mac OS X
Tabellenkalkulation
Impressum
Google+
Python
>
Zeichenketten
>
Erstes Zeichen in Grossbuchstaben umwandeln
Beispiel #1
#!/usr/bin/env python
# -*- coding: utf8 -*-
print
"Content-type: text/plain\n\n"
s =
"das ist ein text."
print
s.capitalize()
# Ausgabe: Das ist ein text.