Split String into Array September 21, 2020 Code Snippets 0 Comments 1223 Views Working with text sometimes we need to split a string into an array using a delimiter. It can be comma, space, hyphen, etc. Programming languages provides various methods to do that. A table includes a links to posts with examples. No.Programming language1.PHP2.Python3.Java
Truncate String to Given Length and Add Ellipsis if Necessary While working with text processing we might need to truncate a string to given length...
Generate Unique Random Numbers in a Range While working with data, we might need to generate specified quantity of unique random numbers...
Publish Message to MQTT Broker MQTT protocol uses a publish/subscribe model. Client can publish message to a broker and other...
Leave a Comment
Cancel reply