About 10,700,000 results
Open links in new tab
  1. What is the difference between substr and substring?

    Sep 19, 2010 · 6 substring (): It has 2 parameters "start" and "end". start parameter is required and specifies the position where to start the extraction. end parameter is optional and specifies …

  2. string - javascript substring - Stack Overflow

    Apr 4, 2013 · You're confusing substring() and substr(): substring() expects two indices and not offset and length. In your case, the indices are 5 and 2, ie characters 2..4 will be returned as …

  3. Check substring exists in a string in C - Stack Overflow

    Jun 2, 2017 · Check substring exists in a string in C Asked 12 years, 8 months ago Modified 1 year, 2 months ago Viewed 719k times

  4. How do I get a substring of a string in Python? - Stack Overflow

    Aug 31, 2016 · I want to get a new string from the third character to the end of the string, e.g. myString[2:end]. If omitting the second part means 'to the end', and if you omit the first part, …

  5. c++ - How to use string.substr () function? - Stack Overflow

    Jan 16, 2017 · I want to make a program that will read some number in string format and output it like this: if the number is 12345 it should then output 12 23 34 45 . I tried using the substr() …

  6. string - Extract substring in Bash - Stack Overflow

    Jan 9, 2009 · Clickbait title. The meaning of substring function is well established and means getting a part by numerical positions. All the other things, (indexOf, regex) are about search. A …

  7. Does Python have a string 'contains' substring method?

    Aug 9, 2010 · Does Python have a string contains substring method? 99% of use cases will be covered using the keyword, in, which returns True or False: 'substring' in any_string For the …

  8. java - How to extract a substring using regex - Stack Overflow

    While substring looks for a specific string or value, regex looks for a format. It's more and more dynamic. You need regex, if you are looking for a pattern instead of a special value.

  9. How to Select a substring in Oracle SQL up to a specific character ...

    The SUBSTRING function doesn't seem to be up to the task because it is position-based and the position of the underscore varies. I thought about the TRIM function (the RTRIM function …

  10. string - Extract a substring using PowerShell - Stack Overflow

    Extract a substring using PowerShell Asked 15 years ago Modified 6 months ago Viewed 461k times

Refresh