Tags » Substring

substring non English string

preg_match(‘/^(.{1,60})\b/u’, $string, $matches);
echo $matches[1] ;

Cakephp

Java Collections contains Substring

By default list.contains(“String”) check for complete match in each line, so searching for list.contain(“ing”) would return false.

This is what I did for solution:

Convert list collection to String and then search in this complete Collection String contains our substring “ing”

54 more words

Project Euler: Problem 8

Problem 8
The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.

108 more words
R

Function of the Week: substring

I have mentioned substring in a previous post, but I want to spend a bit more time talking about it. This function is used to store a specific part of a string or to separate the string into separate components. 210 more words

R