Top "Substr" questions

A function/method that returns part of a string.

How to retrieve the last 4 characters from a mysql database field?

In order to be able to simulate substr from PHP and mysql, I want to do something like select * from …

php mysql substr
Oracle - Update string to replace only the last character

I have the following string in an Oracle 9i database: A,B,C, I need to replace all instances of …

replace sql-update oracle9i substr
Using PHP substr() and strip_tags() while retaining formatting and without breaking HTML

I have various HTML strings to cut to 100 characters (of the stripped content, not the original) without stripping tags and …

php html substr strip-tags
What is the equivalent of REGEXP_SUBSTR in mysql?

I want to extract a word from a string column of a table. description =========================== abc order_id: 2 xxxx yyy aa …

sql regex mysql substr
Find if substring exists in a string

I have a lot of strings, and I need to check if each of them contains a color. For example : …

php regex string substr
Pascal substr equivalent

I was looking for a Pascal equivalent for (for example) the php's substr function, which works like this: $new_string = …

substring pascal substr
R: how to display the first n characters from a string of words

I have the following string: Getty <- "Four score and seven years ago our fathers brought forth on this …

r string substr strsplit
PHP function substr() error

When I use substr() I get a strange character at the end $articleText = substr($articleText,0,500); I have an output of 500 …

php substr
Django substr / substring in templates

Could someone tell me, does the method like substr in PHP (http://pl2.php.net/manual/en/function.substr.php) …

python django templates substr
How to get first x chars from a string, without cutting off the last word?

I have the following string in a variable. Stack Overflow is as frictionless and painless to use as we could …

php string substr