Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. anankagroup
    3. Posts
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by anankagroup

    • RE: Is there any solution to get the result of multiple symbols/scripts in a single call?

      Steps :

      Calculate the length of the string.
      Scan every character(ch) of a string one by one
      if (ch is a digit) then append it in res1 string.
      else if (ch is alphabet) append in string res2.
      else append in string res3.
      Print all the strings, we will have one string containing a numeric part, other non-numeric part, and the last one contains special characters.

      Source: https://www.geeksforgeeks.org/split-numeric-alphabetic-and-special-symbols-from-a-string/

      posted in General Discussion
      A
      anankagroup