=0)]. It is a data type that represents text in programming languages. In programming , a string is a continuous sequence of symbols or values."/> =0)]. It is a data type that represents text in programming languages. In programming , a string is a continuous sequence of symbols or values.">

Home  >  Article  >  What does string mean?

What does string mean?

青灯夜游
青灯夜游Original
2019-05-10 16:45:32225043browse

What does string mean?

String is a string of characters composed of numbers, letters, and underscores. Generally recorded as s=“a1a2···an” (n>=0). It is a data type that represents text in programming languages. In programming, a string is a continuous sequence of symbols or values, such as a symbol string (a string of characters) or a binary digit string (a string of binary digits).

Usually the entire string is used as the operation object, such as: finding a substring in the string, obtaining a substring, inserting a substring at a certain position in the string, deleting a substring, etc. The necessary and sufficient conditions for two strings to be equal are: the lengths are equal, and the characters at each corresponding position are equal. Assume that p and q are two strings. The operation of finding the position where q first appears in p is called pattern matching. The two most basic storage methods of strings are sequential storage and linked storage.

If you want to know more about programming learning, please pay attention to the php training column!

The above is the detailed content of What does string mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn