Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool swapChar = false;
- for(int i = 0; i < str.Length; i++)
- {
- str[i] == '*' ? swapChar = true : false;
- swapChar ? str[i] == "строчный" : false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement