Method 1 – Using substring() function · // Initialize variable with string · // Remove last character of string · // Print result string.
確定! 回上一頁