Top "Substring" questions

Part of a string, or the function/method that returns part of a string

Need to get a string after a "word" in a string in c#

i'm having a string in c# for which i have to find a specific word "code" in the string and …

c# string substring
SQL SELECT everything after a certain character

I need to extract everything after the last '=' (http://www.domain.com?query=blablabla - > blablabla) but …

mysql sql substring string-length
PHP Using RegEx to get substring of a string

I'm looking for an way to parse a substring using PHP, and have come across preg_match however I can't …

php regex parsing substring
How to split string into substrings on iOS?

I received an NSString from the server. Now I want to split it into the substring which I need. How …

ios objective-c iphone string substring
Python: How to check a string for substrings from a list?

Possible Duplicate: Check if multiple strings exist in another string I can't seem to find an equivalent of code that …

python string list substring
Finding a substring in a NSString object

I have an NSString object and I want to make a substring from it, by locating a word. For example, …

objective-c string nsstring substring
bash, extract string before a colon

If I have a file with rows like this /some/random/file.csv:some string /some/random/file2.csv:some …

regex string bash sed substring
Index of a substring in a string with Swift

I'm used to do this in JavaScript: var domains = "abcde".substring(0, "abcde".indexOf("cd")) // Returns "ab" Swift doesn't have this …

swift string substring
Go test string contains substring

How do I check if a string is a substring of another string in Go? For example, I want to …

go substring
Making sure PHP substr finishes on a word not a character

I know how to use the substr function but this will happy end a string halfway through a word. I …

php substring