• Example of SQL intercepted string with separator


    Copy codeThe code is as follows: eclare @str nvarchar(50);set @str=’462,464,2′;Select @ STR as’ string ‘Select len (@ STR) as’ character length ‘Select CHARINDEX (‘, @ STR, 1) as’ index value of the first comma’Select left (@ STR, CHARINDEX (‘, @ STR, 1) – 1) as’ first value’Select substring (@ STR, CHARINDEX (‘, @ STR, 1) […]

  • How do namespaces exist in PHP? (II)


    Today, we still bring namespace related content. Namespace itself is a very important feature in PHP. Therefore, its various operations and uses are still very complex. There are many ways to use it alone. Let’s look at it one by one. Child namespace The namespace itself is like a directory, so the namespace can also […]

  • Online 2-36 hex to text tool


    Online 2-36 hex to text tool Online 2-36 hex to text tool Convert 2-36 arbitrary hexadecimal to text string, and pay attention to the filling of original hexadecimal and separator. Convert 2-36 arbitrary hexadecimal to text string, and pay attention to the filling of original hexadecimal and separator. https://tooltt.com/txt-restore/

  • Linux text processing three swordsman’s awk learning notes 01: Preface


    The resources referenced in this blog are fromHorse Golden Dragon’s awk tutorial, this tutorial is available in51CTOThere are also corresponding courses on. You are welcome to pay for support. The default readers of this blog haveRegular expression basis。 preface The sample file a.txt used in this blog is as follows. ID name gender age email […]

  • Linux text processing three swordsman’s awk learning notes 03: reading files


    read file Read “per row” data At the beginning of the blog, we said that by default, awk reads each line of the file and stores it in the $0 variable. In fact, awk separates each record according to the value of its internal predefined variable RS before reading data. The default value of RS […]

  • Extract birthday


    Problem surface Enter a person’s date of birth (including year, month and day), and output the year, month and day of the birthday respectivelyinput There is only one line to enter. The date of birth includes year, month and day. There is no separator between year, month and day. output Three lines, the first line […]

  • WPF collection control implementation separator (itemscontrol separator)


    In the WPF collection control, it is often necessary to insert a separator style between each collection item, but the itemscontrol of WPF has no direct implementation of related functions, so we can only consider saving the country by curve. After research, we probably think of the following two implementation methods. Write firstItemsControlThe data template […]

  • Mobile end cascade component mcascader


    The selection of tree data may be involved in the development of mobile terminal. Since there are no good components in Mui, I have developed a bubble component that can operate cascade at mobile terminal based on Mui and JQ.Source address:https://github.com/booms21/mC… mCascader Mcascader is a Mui style mobile terminal H5 bubble cascade box, which supports […]

  • Linux awk command details


    Awk is another powerful data processing tool in Linux system besides sed command. The following Liangxu Xiaobian will be from several aspectsLinux awkThe order is explained in detail. I hope it will be helpful to you. Similar to the SED command, the awk command also scans the file line by line (from the first line […]

  • Angularjs learning notes – Chapter 1 – instructions (2)


    Continued learning notes (1)12. Controller instruction <!DOCTYPE html> <html ng-app=”app”> <head> <meta Content-Type=”html/text;charset=UTF-8″> <title>ngController demo</title> </head> <body> <div ng-controller=”ctrl”> < label > Name: < input type = “text” ng model = “name” / > < / label > <– Bind name — > < button ng Click = “greet()” > say hello < / button […]

  • Linux text processing


    <!– /\* Font Definitions \*/ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:3 0 0 0 1 0;} @font-face {font family: isoline; panose-1:2 1 6 0 3 1 1; MSO font ALT: Dengxian; MSO font charset: 134; MSO generic font family: Auto; MSO font pitch: variable; […]

  • Powerful sed and awk in Linux (I)


    Transport to the original brief bookhttps://www.jianshu.com/p/2ee… Recently, there are many more needs to find and edit files and analyze logs. Before, I only knew the general usage of SED and awk. After learning this time, I found that sed and awk are really powerful. awk Awk is better at analyzing files and column operations. The […]