str/pred

获取字符的前一个字符
Source:
Example
str.pred('b')  // 'a'
str.pred('B')  // 'A'
str.pred(',')  // '+'
str.pred(2)    // '1'
Parameters:
Name Type Description
str String 字符
Returns:
输入字符的前一个字符
Type
String