L Lâm Phung New member Sep 17, 2021 #1 What is the return type of the substr() function? A. int B. long C. byte D. string
T Trương Phượng New member Sep 17, 2021 #2 Answer: D Explanation: The substr() function is used to return a portion of a given string. It accepts 2 inputs as arguments; the lower and upper indexes. It can be used as “str.substr(a,b);” where a is the lower index and b is the upper index. Upvote 0 Downvote
Answer: D Explanation: The substr() function is used to return a portion of a given string. It accepts 2 inputs as arguments; the lower and upper indexes. It can be used as “str.substr(a,b);” where a is the lower index and b is the upper index.