重复字符 源码
用法 . . \Get-FirstRecurringCharacter Get-FirstRecurringCharacter - foo " abcdefdcba " 例子 找到重复的字符 返回字符串foo中的重复字符 . . \Get-FirstRecurringCharacter.ps1 Get-FirstRecurringCharacter - foo " adab " a 找不到重复字符 返回null . . \Get-FirstRecurringCharacter.ps1 Get-FirstRecurringCharacter - foo " abcd " 调用Pester测试
用户评论