About 52 results
Open links in new tab
  1. kql - how can I substring a text - Stack Overflow

    Dec 17, 2024 · 2 I have a column that have rows with the following pattern: "https://abc.westeurope.kusto.windows.net" How can I substring the cluster name which is in above …

  2. How to check whether a string contains a substring in JavaScript?

    Nov 24, 2009 · Usually I would expect a String.contains() method, but there doesn't seem to be one. What is a reasonable way to check for this?

  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 slice(): If start > stop, …

  4. 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 the higher …

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

    Assign a pointer to the main string and the substring, increment substring pointer when matching, stop looping when substring pointer is equal to substring length.

  6. Find a substring in a string and returning the index of the substring

    Find a substring in a string and returning the index of the substring Asked 11 years, 11 months ago Modified 10 months ago Viewed 308k times

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

    May 10, 2012 · I have a string and I want its sub string from 5th location to last location. Which function should I use?

  8. 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?

  9. 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, does it …

  10. How do I extract a substring from a string until the second space is ...

    Jan 11, 2015 · How do I extract a substring from a string until the second space is encountered? Asked 15 years, 9 months ago Modified 3 years, 10 months ago Viewed 173k times