mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-24 22:53:52 +02:00
сделал ReadFile_Linux_Windows()
This commit is contained in:
@@ -2065,7 +2065,7 @@ func FindPos(Text string, MassFind ...string) int {
|
||||
|
||||
for _, s1 := range MassFind {
|
||||
pos1 := strings.Index(Text, s1)
|
||||
if pos1 < PosMin {
|
||||
if pos1 < PosMin && pos1 > 0 {
|
||||
PosMin = pos1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user