Q. _______ extracts a part of a string and returns the extracted part in a new string.

  • (A) slice()
  • (B) strlen()
  • (C) substr()
  • (D) substring()
πŸ’¬ Discuss
βœ… Correct Answer: (A) slice()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
179
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
99%
Success Rate