Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/fioPublic

Обработка частей полного имен

NotificationsYou must be signed in to change notification settings

pallid/fio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactorDeepSourceDeepSource

Пример использования

package mainimport ("fmt""github.com/pallid/fio")funcmain() {s:= []string{"Иванов Сергей Александрович","Алиев Ахмед Октай оглы"}for_,str:=ranges {p:=fio.New()p.GetPartsOfFullName(str)fmt.Printf("Устанавливаемое значение: %s\n",str)fmt.Printf("Фамилия: %s\n",p.LastName)fmt.Printf("Имя: %s\n",p.FirstName)fmt.Printf("Отчество: %s\n",p.MiddleName)fmt.Printf("ФамилияИО: %s\n",p.LastNameAndInitials)}}
Устанавливаемое значение: Иванов Сергей АлександровичФамилия: ИвановИмя: СергейОтчество: АлександровичФамилияИО: Иванов С.А.Устанавливаемое значение: Алиев Ахмед Октай оглыФамилия: АлиевИмя: АхмедОтчество: Октай оглыФамилияИО: Алиев А.О.

About

Обработка частей полного имен

Resources

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp