Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: string

Split string and loop the value in the MYSQL process

I have encountered a situation where I have to pass a comma-separated string to a MySQL procedure and split the string and insert these values ​​into the table as rows.

As shown in the figure

October 4, 2021By Simo Mysql during the process, loop, mysql, Split, string, traversal, valueLeave a Comment

C # format data string.format

October 4, 2021By Simo C# C #, data, Format, formatted, string, string.formatLeave a Comment

[C #] Simple and fast to convert various numeric words to numbers (String to int)

I believe that when you are writing programs, you must have a lot of opportunities to convert numeric strings into int or float type values, but the numeric characters may not be very clean, someti

October 4, 2021By Simo C# C #, FAST, int, numbers, simple, string, transfer, values, various, will, wordsLeave a Comment

How to convert a C string into a RUST string and return via FFI?

I am trying to get the C string returned by the C library and convert it to a Rust string through FFI.

mylib.c

const char* hello(){
return “Hello World!”;
} main.rs

#![feature(li

October 4, 2021By Simo C & C++ By, conversion, FFI, How to, return, Rust, stringLeave a Comment

Calculate the number of characters in the string in c

How to count the number of “_” in a string like “bla_bla_blabla_bla”? #include
std::string s = “a_b_c “;
size_t n = std::count(s.begin(), s.end(),’_’);

How to calculate like ” The number

October 4, 2021By Simo C & C++ appearance, Calculation, Characters, middle, number of times, stringLeave a Comment

NEST string sort

The text string sort will be segmented first. You can create the filed field first. And set it as keyword

mapping

public void Mapping()
{
var response = client.Index

October 2, 2021By Simo Search Engines NEST, SORT, stringLeave a Comment

Protobuf3: String verification using regular expressions

I have been using Protobuf3 to define PB messages:

syntax = “proto3”;
package vioozer_protobuf ;
message Update
{
string sensor_id = 1;
…
} In my system, The sensor has a unique id format

October 1, 2021By Simo Micro Services expression, Protobuf, Protobuf3, regular, string, use, verificationLeave a Comment

Protocol-buffers – Protobuf3: How to describe the mapping of repeating strings?

Official documentation about map type says:

map map_field = N ;

…where the key_type can be any integral or string type (so, any
scalar type except for floating point types and bytes).

October 1, 2021By Simo Micro Services Buffers, Description, How, Mapping, Protobuf, Protobuf3, protocol, repetition, stringLeave a Comment

Tenth: String

String The role of the string: Input terminal: Data-driven automation, whether it is stored in excel or a database, it is read in the form of a string, and the read string needs to be done Proces

September 30, 2021By Simo Auto-Test speaking, string, tenthLeave a Comment

C Remove punctuation from string

I have a string and I want to remove all punctuation marks from it. How can I do it? I did some research and found that people use the ispunct() function (I tried), but I can’t seem to get it to wo

September 29, 2021By Simo C & C++ delete, punctuation, stringLeave a Comment

Posts navigation

Page 1 … Page 5 Page 6 Page 7 Page 8
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress