The function lastIndexOf() is used to ___________________
The function lastIndexOf() is used to ___________________ Correct Answer Get the index of last occurrence of specified character in argument
The function is used to get the last occurrence index of a character present in a string. The return type is char. Single character is returned. The function is used with a string object and the target character is passed as its argument.
মোঃ আরিফুল ইসলাম
Feb 20, 2025