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

    Sep 19, 2010 · substring() allows you to specify the indices and the second argument is NOT inclusive There are some additional subtleties between substr() and substring() such as the …

  2. How to use substring function in c? - Stack Overflow

    May 10, 2012 · 2 If you know the character also in the string from where you want to get the substring then you can use strstr function. It locates the substring. But if u do not know the …

  3. What is the difference between String.slice and String.substring?

    Feb 11, 2010 · Distinctions of substring(): If start > stop, then substring will swap those 2 arguments. If either argument is negative or is NaN, it is treated as if it were 0. Distinctions of …

  4. Check whether a cell contains a substring - Stack Overflow

    Sep 4, 2013 · Is there an in-built function to check if a cell contains a given character/substring? It would mean you can apply textual functions like Left/Right/Mid on a conditional basis without …

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

    Rest are driver and helper codes. Assign a pointer to the main string and the substring, increment substring pointer when matching, stop looping when substring pointer is equal to substring …

  6. Get everything after and before certain character in SQL Server

    Jun 13, 2012 · I got the following entry in my database: images/test.jpg I want to trim the entry so I get: test So basically, I want everything after / and before . How can I solve it?

  7. Copying a part of a string (substring) in C - Stack Overflow

    Jan 22, 2010 · I have a string: char * someString; If I want the first five letters of this string and want to set it to otherString, how would I do it?

  8. How to extract a substring from a string in C? - Stack Overflow

    Oct 24, 2013 · How to extract a substring from a string in C? Asked 12 years, 1 month ago Modified 5 years, 5 months ago Viewed 88k times

  9. Find substring in a list of strings - Stack Overflow

    The best overloaded method match for 'string.Substring (int)' has some invalid arguments Substring is used to get part of string using character position and/or length of the resultant …

  10. How to get substring in C - Stack Overflow

    Jul 8, 2018 · I have a string, let's say "THESTRINGHASNOSPACES". I need something that gets a substring of 4 characters from the string. In the first call, I should get "THES"; in the second, …