charAt() 方法用于返回指定索引处的字符。索引范围为从 0 到 length() - 1。
public char charAt(int index)
index – 字符的索引。
事情发生在昨天,今天整理出来。
线上客服爆出“C端APP上的某个促销活动的活动详情无法打开”,通过客户端同学小T查看,该BUG的现象是:同一个活动详情,Android没有报错能展示活动详情(后来发现有一个乱码),而IOS直接报错无法展示任何信息。两端的其他活动详情都正常。
Stay Hungry, Stay Foolish.
charAt() 方法用于返回指定索引处的字符。索引范围为从 0 到 length() - 1。
public char charAt(int index)
index – 字符的索引。
事情发生在昨天,今天整理出来。
线上客服爆出“C端APP上的某个促销活动的活动详情无法打开”,通过客户端同学小T查看,该BUG的现象是:同一个活动详情,Android没有报错能展示活动详情(后来发现有一个乱码),而IOS直接报错无法展示任何信息。两端的其他活动详情都正常。
今天打算在我的Mac跑一段C代码,用vim编写完之后,打算用gcc编译该代码文件,结果报错:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
wiki:A binary-safe function is one that treats its input as a raw stream of bytes and ignores every textual aspect it may have. The term is mainly used in the PHP programming language to describe expected behaviour when passing binary data into functions whose main responsibility is text and string manipulating, and is used widely in the official PHP documentation.