Function Description:
You can turn the initials of the English words in the title of the article into uppercase:
function Pcase (strinput)
' Variable declaration.
Dim Strarr
Dim Tmpword
Dim tmpstring
Dim Last
"Create an array to store" Each
Solution Ideas
Convert a string to lowercase
To split a string into a string array
Loop array capitalize each word first letter
Converts all elements of an array into a string
The first of these methodsfunction Titlecase
Sequence Types
There are six types of sequence: strings, byte sequences (bytes objects), byte arrays (ByteArray objects), list, tuple, Range objects.
Common operations supported by the sequence type:Member check: in, not inConnection: +Copy:
Summary of Python built-in string methods, python strings
String processing is a very common skill, but there are too many built-in string methods in Python that are often forgotten. For quick reference, I wrote examples for each built-in method
String function learning Summary In Python3.2, python3.2 string
Sequence Types
There are six sequence types: strings, byte sequences (bytes objects), byte arrays (bytearray objects), list, tuple, range objects.
Common operations supported by
This article mainly introduces some of the following Python's built-in string methods, including overview, string case conversion, string format output, string search positioning and substitution, string union and segmentation, string conditional
Use of the stringutils tool Class 1. Convert arrays into strings:
1. Convert the characters in the array into a string
Converts a character in an array to a string.
@ Param strtoconv: the string to be converted. It is separated by commas by default.
PHP built-in function example tutorial, built-in function instance tutorial
Uppercase and lowercase conversion related functionsStrtolower ()Strtoupper ()Ucfirst ()Ucword ()
Text HTML tag handler function
NL2BR ()Htmllentities ()Htmlspecialchars
I,Integer
1.
Relationship between digit size and bit
. Bit_length # How do I query the digits?
Conversion between boolean values (bool) and numbers
True False
N = bool (6)
Output True? # Can numbers and boolean values be converted to each other?
INT
Currently supported filters include
Date format replace Number_format Url_encode Json_encode convert_encoding title capitalize nl2br Upper Lower striptags Joi n Reverse length Sort default keys escape raw Merge
The Date Filter 1.1 has new time
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.