trim colons at importing company fields
This commit is contained in:
parent
7e10bbce6d
commit
473dcc946d
1 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ class VcfImporter(val activity: SimpleActivity) {
|
|||
curCompany = if (company.startsWith(";")) {
|
||||
company.substringAfter(":").trim(';')
|
||||
} else {
|
||||
company
|
||||
company.trimStart(':')
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -274,7 +274,7 @@ class VcfImporter(val activity: SimpleActivity) {
|
|||
curJobPosition = if (jobPosition.startsWith(";")) {
|
||||
jobPosition.substringAfter(":")
|
||||
} else {
|
||||
jobPosition
|
||||
jobPosition.trimStart(':')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue