(1) the first two functions of echo, print, printf, and sprintf are output strings. if there is a variable name in the string, it is replaced with its value. the last two functions are similar to C functions with the same name. (2) strchr, strlen,
PHP common string processing functions PHP string operations common functions/** determine string length * intstrlen (stringstr) * compare two strings * 1. strcmp functions perform binary security comparison on the two strings, and Case Sensitive *
Command: Fputcsv ()
Command format: int fputcsv (resource handle [, array fields [, String delimiter [, String enclosure]])
Command parsing: fputcsv () formats a row (passed in the fields array) in CSV format and writes the file specified by handle.
1, stitching strings
The concatenation of strings is one of the most commonly used string operations, and in PHP there are three ways to stitch strings, namely dots. The delimiter {} operation, and the dot equals sign. = to operate, the dot equals
Php knowledge review regular expressions // technical knowledge of regular expressions // [] defining character sets and example [a-z] [A-Z] [0-9] [\ f \ r \ n \ t] // positioning character ^ [A-Z] [0-9] $ start and end // quantifiers * +? {N} {m, n}
Command: & nbsp; fputcsv () command format: int & nbsp; fputcsv & nbsp; (resourcehandle [, arrayfields [, stringdelimiter [, stringenclosure]) command parsing: fputcsv () format a row (transmitted using the fields array) in CSV format and write it
String segmentation and connection functions: Code: arrayexplode (stringdelimiter, stringdata) uses the string dellimiter to split data into an array and returns functions similar to: split () Code: stringimplode (arraydata, stringdellimiter)
String
PHP learns scattered notes-string splits, fetch functions, and single double quotes.
1 string splitting--split () function and Preg_split () function
Split-using regular expressions to split strings into arrays--seemingly PHP5.3 above
C # No category for playing audio files such as MP3. You need to compile audio files such as MP3 for playing. Program Third-party controls or classes must be used. This article uses the API function mcisendstring to compile a class for playing audio
Frequently-used commands echo, @, call, pause, and REM (TIPS: Use: instead of REM) are the most frequently-used commands for batch file processing. We started from them.
First, @ is not a command, but a special identifier for DOS batch processing.
From: http://apps.hi.baidu.com/share/detail/23157364
The following three methods are commonly used to read Excel using PHP, which have their respective advantages and disadvantages. I personally recommend the third method because it can be used
Sqlite3: a command line interface for SQLite Databases
Address: http://www.sqlite.org/sqlite.html
The SQLite library contains a command line named sqlite3, which allows you to manually enter and execute SQL commands for the SQLite database. This
1 echo and @@ # Disable single-row echoEcho off # Close echo from the next line@ Echo off # disable echo from the beginning of the line. This is the first line of batch processing.Echo on # enable echo from the next lineEcho # shows whether the
Public static string CmycurD (decimal num)
{
String str1 = ""; // Chinese characters corresponding to 0-9
String str2 = "tens of thousands of Chinese characters, hundreds of millions of Chinese characters, and tens of thousands of Chinese characters"
Chapter 1
Some arrays are called Super global variables,
$ _ Globals all global variable Arrays
$ _ Server environment variable
$ _ Get, $ _ post are passed to the variable array of the script in two ways.
$ _ Cookie, $ _ Session Cookie variable
The SQL injection vulnerability attacks have aroused widespread concern because they can penetrate the firewall and Intrusion Detection System to damage your data layer. Whether it is the first or second-level injection attack, if you look at the
The General symbols are used for a moment. Let's take a look. Actually, there are some symbols in the forum ....
Your question is related to two factors:
1.% is an escape character. It is usually translated as an escape character, but it also has a
1Echo and @Echo command@ # Disable single-row echoEcho off # Close echo from the next line@ Echo off # disable echo from the beginning of the line. This is the first line of batch processing.Echo on # enable echo from the next lineEcho # shows
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.